Moses fled from Pharaoh

Now it came about in those days, when Moses had grown up, that he went out to his brethren and looked on their hard labors; and he saw an Egyptian beating a Hebrew, one of his brethren. When Pharaoh heard of this matter, he tried to kill Moses. But Moses fled from the presence of Pharaoh and settled in the land of Midian, and he sat down by a well. (EXO 2:11, 15) But when he was approaching the age of FORTY, it entered his mind to visit his brethren, the sons of Israel. And when he saw one of them being treated unjustly, he defended him and took vengeance for the oppressed by striking down the Egyptian. (ACT 7:23-24)