17 He sent a man on ahead of them; Joseph was sold as a slave.
18 They clamped his feet in fetters. His neck went into irons.
19 Until the time his word came about, the word of Yahweh tested him.
20 The king sent and he freed him; the ruler of the peoples sent and let him loose.
21 He made him lord of his house and ruler of all his possessions,
22 to obligate his officials as he saw fit and teach his elders wisdom.
23 Then Israel came to Egypt, and Jacob was a sojourner in the land of Ham.