Pharaoh was humiliated and executed. Conversely, Moses was spared and was used by God to lead an entire nation to safety.
فَٱلْعَدِيدُ مِنْ كُنُوزِ مِصْرَ ٱلَّتِي تَخَلَّى عَنْهَا سُرْعَانَ مَا سَلَبَهَا ٱلْإِسْرَائِيلِيُّونَ أَنْفُسُهُمْ .‏