He had sent a man ahead of them--Joseph, who was sold as a slave.