Up to the industrial revolution the vast majority of the workforce was in agriculture, namely either in serfdom or working somebody else's land for a pittance. Not many were really self sufficient.
Secondly, artists, scholars, inventors where either nobles, priests or depending on the local court for their income.