28 So when the Midianite merchants came by, his brothers pulled Joseph up out of the cistern and sold him for twenty shekels[1] of silver to the Ishmaelites, who took him to Egypt.

Matthew Henry's Commentary on Genesis 37:28

Commentary on Genesis 37:23-30

(Read Genesis 37:23-30)

They threw Joseph into a pit, to perish there with hunger and cold; so cruel were their tender mercies. They slighted him when he was in distress, and were not grieved for the affliction of Joseph, see Psalm 76:10. Joseph's brethren were wonderfully restrained from murdering him, and their selling him as wonderfully turned to God's praise.