Psalms 105:17 (KJV)

He sent a man before them, even Joseph, who was sold for a servant: