Musa (Moses) came to Korah (Qarun), Fir’on (Pharaoh) and Haman with clear signs but they remained arrogant in the land; yet they could not go ahead of Us.
Meaning:-
Korah: Korah was the cousin of Moses. Because of Korah’s close association with Pharaoh, he became very rich and started to behave arrogantly towards his own people. When he was asked repeatedly by Moses to pay his alms-tax to help poor Israelites, Korah refused and eventually conspired with a prostitute to damage the reputation of Moses, but Moses was cleared of any wrongdoing.
Haman: It is commonly believed that Hamân was in charge of architecture during the reign of Pharaoh at the time of Moses