Moses fled Egypt to the land of Midian because he had killed an Egyptian and buried him in the sand. In an attempt to stop an Egyptian from beating a Hebrew, Moses ended up killing the Egyptian. Fearing for his life, he fled Egypt to the land of Midian where he met and married his wife Zipporah, and lived as a shepherd for many years.