For most of history Artists worked for patrons.
The patron would keep the artist in food, shelter and supplies and in return the artist would create art for their patrons. The idea of the artist as some rebel who does what ever the fuck they want? Thats an idea of modernity and even then...