The Root of Judgment: Pride
All commentators agree that the core reason for Egypt's judgment was pride, encapsulated in Pharaoh's boast, "The river is mine, and I have made it." Matthew Henry explains this reflects a universal temptation to worship the idol of 'self' and forget that everything we have is a gift from God. This self-attribution is presented as a direct contempt of God's sovereignty.