Acts 7:9-10 New International Version - UK (NIVUK)
9 ‘Because the patriarchs were jealous of Joseph, they sold him as a slave into Egypt. But God was with him 10 and rescued him from all his troubles. He gave Joseph wisdom and enabled him to gain the goodwill of Pharaoh king of Egypt. So Pharaoh made him ruler over Egypt and all his palace.