Moses is famous for many things, since he played many roles in the history of Israel, including leader, lawgiver and prophet. According to the Hebrew Bible, he led the children of Israel out of slavery to the Promised Land, and he went to the top of the mountain where God gave him the 10 Commandments.
The biblical account of Moses begins with his birth at a time when the Pharaoh had declared all male Hebrew babies be put to death. After keeping him in secret, Moses' mother placed him in a basket in a location where the Pharaoh's daughter then found him and adopted him, with his birth mother serving as his wet nurse. Upon observing an Egyptian beating a Hebrew, Moses killed the Egyptian and fled for his life.
The book of Exodus states that Moses returned to lead the Israelites out of Egypt. The Pharaoh was unwilling to allow his slaves to leave. After the plagues, the Pharaoh granted them permission, then chased them as they left. Moses parted the water for his people to cross, but allowed the Egyptian armies to drown.
During the 40 years of wandering in the wilderness, God called Moses to the top of the mountain and gave him the 10 Commandments. When Moses returned with the Commandments, the people were worshiping idols. After God agreed to Moses' plea to spare their lives, the people accepted the Commandments and Moses led them to the Promised Land.