Pharaoh compared himself to a great lion. He exalted himself and was cut down because of pride. God resists the proud (see James 4:6). He humbles those who become great in their own eyes.
Ezekiel 32:2 “Son of man, take up a lamentation for Pharaoh king of Egypt, and say to him: ‘You are like a young lion among the nations, And you are like a monster in the seas, Bursting forth in your rivers, Troubling the waters with your feet, And fouling their rivers.’