Monastery's receive resources from the Church.
The downfall of the self sufficient commune movement is it frequently resulted in poverty. The example I am referring to had well paid professionals including doctors etc who saved money by joining. Low rent including utilities, food, appliances, and household supplies allowed members to travel and party more. In effect a collage fraternity without the collage rather than a monastery without a religion.
Before the Reformation and the revolutions, monasteries generally had land given by the nobility or the otherwise wealthy. Some farmed it themselves, some had tenants. I don't know how much money monasteries tend to get directly from the Church.