23 So when Joseph came to his brothers, they took off his long coat which he had on; 24 And they took him and put him in the hole: now the hole had no water in it. 25 Then seating themselves, they took their meal: and looking up, they saw a travelling band of Ishmaelites, coming from Gilead on their way to Egypt, with spices and perfumes on their camels. 26 And Judah said to his brothers, What profit is there in putting our brother to death and covering up his blood? 27 Let us give him to these Ishmaelites for a price, and let us not put violent hands on him, for he is our brother, our flesh. And his brothers gave ear to him. 28 And some traders from Midian went by; so pulling Joseph up out of the hole, they gave him to the Ishmaelites for twenty bits of silver, and they took him to Egypt. 29 Now when Reuben came back to the hole, Joseph was not there; and giving signs of grief, 30 He went back to his brothers, and said, The child is gone; what am I to do?

Matthew Henry's Commentary on Genesis 37:23-30

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.