Moses's greatest legacy was probably expounding the doctrine of monotheism, which was not widely accepted at the time, codifying it in Jewish religion with the 1st Commandment, and punishing polytheists. He is revered as a prophet in Judaism, Christianity, and Islam.
The birth of Moses occurred at a time when the current Egyptian monarch had commanded that all male children born to Hebrew captives should be killed by drowning in the Nile River.
22 And Pharaoh charged all his people, saying, Every son that is born ye shall cast into the river, and every daughter ye shall save alive. –Exodus 1:22
1. Exodus 1:22 Samaritan, Septuagint, Targum; Hebrew lacks to the Hebrews
The Torah leaves the identity of this Pharaoh unstated, but he is widely believed to be Ramses II; other, earlier pharaohs have also been suggested including a Hyksos pharaoh or one shortly after the Hyksos had been expelled.