Psalms 105:17-21
Psalms 105:17-21 AMP
He sent a man before them, Joseph, who was sold as a slave. [Gen 45:5; 50:20, 21] His feet they hurt with shackles; He was put in chains of iron, Until the time that his word [of prophecy regarding his brothers] came true, The word of the LORD tested and refined him. The king sent and released him, The ruler of the peoples [of Egypt], and set him free. He made Joseph lord of his house And ruler of all his possessions, [Gen 41:40]