How did the people who wanted to follow Buddhism or Jainism survive in monasteries without the essential conditions important for survival?
Both Buddhism and Jainism did not restrict their followers from eating their daily meals. Only the life of luxury or excess is what they criticized.