Meanwhile the Midianites who had bought Joseph had taken him to Egypt. There they sold him to Potiphar, an officer to the king of Egypt and captain of the palace guard.
Then King Nebuchadnezzar ordered Ashpenaz, his chief officer, to bring some of the men of Judah into his palace. He wanted them to be from important families, including the family of the king of Judah.