There are two types of snakes, one on the land that is stronger than the other one that is in the water.
“דַּבֵּר וְאָמַרְתָּ כֹּה אָמַר אֲדֹנָי יְהוִה הִנְנִי עָלֶיךָ פַּרְעֹה מֶלֶךְ מִצְרַיִם הַתַּנִּים הַגָּדוֹל הָרֹבֵץ בְּתוֹךְ יְאֹרָיו אֲשֶׁר אָמַר לִי יְאֹרִי וַאֲנִי עֲשִׂיתִנִי”
“”Speak and say, ‘Thus says the Lord YHVH, “Behold, I am against you, Pharaoh king of Egypt, the great sea monster that lies in the midst of his rivers, That has said, ‘My Nile is mine, and I myself have made it.’”
When the two snakes go into fight, the snake of the land always overcome the snake of the water. The land’s snake gets his powers from the land that nourishes him and give him strength and Judgment. He has powers that comes from barrier at the bottom of the central column (מסך דחיריק) that is between Malchut and Zeir Anpin. Because this point separates Light (Zeir Anpin) and death (Malchut), the Snake has the power to kill all livings.
Even though the Snake of the land was suppose to fight the serpent of the sea, he doesn’t do it. The Holy One Blessed be He took away the powers of the sea serpent because of his rude and arrogant expression;“’My Nile is mine, and I myself have made it.’”.
The sea serpent that was aspect of the Left reinstated but weaker and under the control of the right column.
“בַּיּוֹם הַהוּא יִפְקֹד יְהוָה בְּחַרְבוֹ הַקָּשָׁה וְהַגְּדוֹלָה וְהַחֲזָקָה עַל לִוְיָתָן נָחָשׁ בָּרִחַ וְעַל לִוְיָתָן נָחָשׁ עֲקַלָּתוֹן וְהָרַג אֶתהַתַּנִּין אֲשֶׁר בַּיָּם”
“In that day YHVH will punish Leviathan the fleeing serpent, With His fierce and great and mighty sword, Even Leviathan the twisted serpent; And He will kill the serpent that is in the sea”
Pharaoh is the aspect of the Left, the Snake. He didn’t recognize or accept YHVH because he saw himself as god on earth. God took his powers away through the process of the ten plagues reducing his ego to nothing.
The sages say that God didn’t let Pharaoh die in the sea so he can tell the stories about the miracles God made.
Arrogance behavior is opposite the ways of God that all his work in this world is done without us seeing him. He also use different ‘messengers’ that serve him and deliver good to people. Arrogant person creates a curtain of ‘death’ around himself because he disconnects from the Light. Sooner or later he will fall.
When we get ‘hit’ with some kind of pain, we should review our actions to find where did we go against the ways of God. The next hit could be worse that the previous one because we create a greater distance from the Light. We can save ourselves a lot of pain when we become humble and correct our ways.