A means of providing the necessities of life for oneself (for example, a job or income).
an independent livelihood; to make / earn / gain / win a good livelihood by the sweat of one's brow
1716, Joseph Addison, The Free-Holder, London: D. Midwinter and J. Tonson, No. 42, Monday May 14, p. 245,
Trade […] employs Multitudes of Hands both by Sea and Land, and furnishes the poorest of our Fellow-Subjects with the Opportunities of gaining an honest Livelihood.