17 and he sent a man before them— Joseph, sold as a slave.

Read Psalm 105:17 Using Other Translations

He sent a man before them, even Joseph, who was sold for a servant:
he had sent a man ahead of them, Joseph, who was sold as a slave.
Then he sent someone to Egypt ahead of them— Joseph, who was sold as a slave.