Quran 28:77 — History (Al-Qasas)
"Use the provisions bestowed upon you by GOD to seek the abode of the Hereafter, without neglecting your share in this world. Be charitable, as GOD has been charitable towards you. Do not keep on corrupting the earth. GOD does not love the corruptors."
[28:76] Qãroon (the slave driver) was one of Moses' people who betrayed them and oppressed them. We gave him so many treasures that the keys thereof were almost too heavy for the strongest band. His people said to him, "Do not be so arrogant; GOD does not love those who are arrogant.
[28:78] He said, "I attained all this because of my own cleverness." Did he not realize that GOD had annihilated before him generations that were much stronger than he, and greater in number? The (annihilated) transgressors were not asked about their crimes.