Ecclesiastes 8:11 Because sentence against an evil work is not executed speedily, therefore the heart of the sons of men is fully set in them to do evil.
[Patriarchs & Prophets pp 332] Says the prophet, “When Thy judgments are in the earth, the inhabitants of the world will learn righteousness. Let favor be showed to the wicked, yet will he not learn righteousness, ... and will not behold the majesty of Jehovah.” Isaiah 26:9, 10. Thus it was after the Flood. Released from His judgments, the inhabitants of the earth again rebelled against the Lord. Twice God's covenant and His statutes had been rejected by the world. Both the people before the Flood and the descendants of Noah cast off the divine authority.
Then God entered into covenant with Abraham, and took to Himself a people to become the depositaries of His law. To seduce and destroy this people, Satan began at once to lay his snares. The children of Jacob were tempted to contract marriages with the heathen and to worship their idols. But Joseph was faithful to God, and his fidelity was a constant testimony to the true faith. It was to quench this light that Satan worked through the envy of Joseph's brothers to cause him to be sold as a slave in a heathen land.
God overruled events, however, so that the knowledge of Himself should be given to the people of Egypt. Both in the house of Potiphar and in the prison Joseph received an education and training that, with the fear of God, prepared him for his high position as prime minister of the nation. From the palace of the Pharaohs his influence was felt throughout the land, and the knowledge of God spread far and wide.
Psalms 105:17 He sent a man before them, even Joseph, who was sold for a servant: 18 Whose feet they hurt with fetters: he was laid in iron: 19 Until the time that his word came: the word of the Lord tried him.
May The Lord add His blessing to the study of His word. God bless!