Ex 2:11-15
Although Moses was the son of Pharaoh's princess, he knew that he was a Hebrew. Moses was also taught as a child by his parents about the coming Christ. So when he saw the Egyptian beating his brother, the Hebrew, he couldn't bear to see him, so he struck the Egyptian and killed him. In the end, Moses fled from Pharaoh and went to the land of Midian. (Ex 2:11-15)
Ex 2:11 And it came to pass in those days, when Moses was grown, that he went out unto his brethren, and looked on their burdens: and he spied an Egyptian smiting an Hebrew, one of his brethren. 12 And he looked this way and that way, and when he saw that there was no man, he slew the Egyptian, and hid him in the sand. 13 And when he went out the second day, behold, two men of the Hebrews strove together: and he said to him that did the wrong, Wherefore smitest thou thy fellow? 14 And he said, Who made thee a prince and a judge over us? intendest thou to kill me, as thou killedst the Egyptian? And Moses feared, and said, Surely this thing is known. 15 Now when Pharaoh heard this thing, he sought to slay Moses. But Moses fled from the face of Pharaoh, and dwelt in the land of Midian: and he sat down by a well.
Moses counted reproach for Christ's sake as a greater riches than all the treasures of Egypt. (Heb 11:24-27)
Heb 11:24 By faith Moses, when he was come to years, refused to be called the son of Pharaoh's daughter; 25 Choosing rather to suffer affliction with the people of God, than to enjoy the pleasures of sin for a season; 26 Esteeming the reproach of Christ greater riches than the treasures in Egypt: for he had respect unto the recompence of the reward. 27 By faith he forsook Egypt, not fearing the wrath of the king: for he endured, as seeing him who is invisible.