Allah created human beings; some of them rich, some poor and some normal. Two examples of Qarun and Suleyman (as) show that sometimes richness is good if you do not forget Allah. But sometimes it is bad. It makes you selfish and lose your belief. Only do it for Allah. Allah is al-Razzaq, be thankful for what you have and do not follow your ego.