Waxing and waning of economies is something that happened since civilization started. No one has fixed it yet, and people a lot smarter than you and I have tried. If the human race was more altruistic than greedy, it would probably be possible, but we aren't. Until that changes, this is just what happens.