Joseph was 30 years old when he entered the service of Pharaoh (the king of Egypt). He left Pharaoh and traveled all around Egypt.