Psalms 105:17-22

CLV(i) 17 He sent a man before them, Joseph, who was sold as a slave." 18 They humbled his feet in fetters; His soul was inserted in iron 19 Until the era when His word came to pass, When the saying of Yahweh had refined him." 20 The king sent and let him loose; The ruler of the peoples opened his way. 21 He constituted him lord over his house And ruler among all his acquisitions, 22 To discipline his chiefs at his soul's desire, So that he should make his elders wise."