The king, being angry with his servants, commanded me and the chief baker to be cast into the prison of the captain of the soldiers;
And cast Joseph into the prison, where the king's prisoners were kept. And he was there shut up.
The Madianites sold Joseph in Egypt to Putiphar, an eunuch of Pharao, captain of the soldiers.