He was a rich man from the people of Moses pbuh and he lived in the era of Moses pbuh. He was very arrogant and therefore Allah the Almighty destroyed him along with his house.
Allah Almighty says: (Indeed, Korah was from the people of Moses, but he behaved arrogantly towards them. We had granted him such treasures that even their keys would burden a group of strong men. ˹Some of˺ his people advised him, “Do not be prideful! Surely Allah does not like the prideful.) Rather, seek the ˹reward˺ of the Hereafter by means of what Allah has granted you, without forgetting your share of this world. And be good ˹to others˺ as Allah has been good to you. Do not seek to spread corruption in the land, for Allah certainly does not like the corruptors.”) [Al-Qasas 28: 76]
رجل من قوم موسى عليه السلام و قد عاش في زمان نبي الله موسى عليه السلام. كان له غنى فاحش ولم يشكر الله بل نسب الغنى لعلمه فخسف الله به وبداره الأرض. قال تعالى: (إنَّ قَارُونَ كَانَ مِن قَوْمِ مُوسَىٰ فَبَغَىٰ عَلَيْهِمْ .وَآتَيْنَاهُ مِنَ الْكُنُوزِ مَا إِنَّ مَفَاتِحَهُ لَتَنُوءُ بِالْعُصْبَةِ أُولِي الْقُوَّةِ إِذْ قَالَ لَهُ قَوْمُهُ لَا تَفْرَحْ إِنَّ اللَّـهَ لَا يُحِبُّ الْفَرِحِينَ)
وَٱبۡتَغِ فِيمَآ ءَاتَٮٰكَ ٱللَّهُ ٱلدَّارَ ٱلۡأَخِرَةَۖ وَلَا تَنسَ نَصِيبَكَ مِنَ ٱلدُّنۡيَاۖ وَأَحۡسِن ڪَمَآ أَحۡسَنَ ٱللَّهُ إِلَيۡكَۖ وَلَا تَبۡغِ ٱلۡفَسَادَ فِى ٱلۡأَرۡضِۖ إِنَّ ٱللَّهَ لَا يُحِبُّ ٱلۡمُفۡسِدِينَ . قَالَ إِنَّمَآ أُوتِيتُهُ ۥ عَلَىٰ عِلۡمٍ عِندِىٓۚ أَوَلَمۡ يَعۡلَمۡ أَنَّ ٱللَّهَ قَدۡ أَهۡلَكَ مِن قَبۡلِهِۦ مِنَ ٱلۡقُرُونِ مَنۡ هُوَ أَشَدُّ مِنۡهُ قُوَّةً۬ وَأَڪۡثَرُ جَمۡعً۬اۚ وَلَا يُسۡـَٔلُ عَن ذُنُوبِهِمُ ٱلۡمُجۡرِمُونَ القصص 28: 76