The Lord was with Joseph, and he was a successful man; and he was in the house of his master the Egyptian. Genesis 39:2.
It was God's design that through Joseph, Bible religion should be introduced among the Egyptians. This faithful witness was to represent Christ in the court of kings. Through dreams God communicated with Joseph in his youth, giving him an intimation of the high position he would be called to fill. The brothers of Joseph, to prevent the fulfillment of his dreams, sold him as a slave, but their cruel act resulted in bringing about the very thing the dreams had foretold.
Those who seek to turn aside the purpose of God and oppose His will may appear for a time to prosper; but God is at work to fulfill His own purposes, and He will make manifest who is the ruler of the heavens and the earth.
Joseph regarded his being sold into Egypt as the greatest calamity that could have befallen him, but he saw the necessity of trusting in God as he had never done when protected by his father's love. Joseph brought God with him into Egypt, and the fact was made apparent by his cheerful demeanor amid his sorrow.... It is God's purpose that those who love and honor His name shall be honored also themselves, and that the glory given to God through them shall be reflected upon themselves.
customs of the idolatrous Egyptians.—Youth's Instructor, March 11, 1897.