10 and rescued him from all his suffering. When Joseph stood in the presence of Pharaoh (the king of Egypt), God gave Joseph divine favor and wisdom so that he became ruler of Egypt and of Pharaoh's whole palace.