This person explained so well as to why in medieval times churches were built with such splendor instead of giving the poorest people the money that would have been divided between hundreds of people that would have otherwise went to the church.
"It's in the darkest, poorest and most, desperate times when symbols of overwhelming hope are needed which is why church were built in such a grandiose way"
Basically saying that to live another day one needs to live for beauty and something greater than yourself.