Sold And When in the KJV
3 verses of the King James Version have both "sold" and "when".
1 Samuel 12:9 And when they forgat the Lord their God, he sold them into the hand of Sisera, captain of the host of Hazor, and into the hand of the Philistines, and into the hand of the king of Moab, and they fought against them.
Jeremiah 34:14 At the end of seven years let ye go every man his brother an Hebrew, which hath been sold unto thee; and when he hath served thee six years, thou shalt let him go free from thee: but your fathers hearkened not unto me, neither inclined their ear.
Matthew 13:46 Who, when he had found one pearl of great price, went and sold all that he had, and bought it.