24 Then they took him and cast him into a pit. And the pit was empty; there was no water in it. 25 And they sat down to eat a meal. Then they lifted their eyes and looked, and there was a company of Ishmaelites, coming from Gilead with their camels, bearing spices, balm, and myrrh, on their way to carry them down to Egypt. 26 So Judah said to his brothers, "What profit is there if we kill our brother and conceal his blood? 27 Come and let us sell him to the Ishmaelites, and let not our hand be upon him, for he is our brother and our flesh." And his brothers listened. 28 Then Midianite traders passed by; so the brothers pulled Joseph up and lifted him out of the pit, and sold him to the Ishmaelites for twenty shekels of silver. And they took Joseph to Egypt. 29 Then Reuben returned to the pit, and indeed Joseph was not in the pit; and he tore his clothes. 30 And he returned to his brothers and said, "The lad is no more; and I, where shall I go?"

31 So they took Joseph's tunic, killed a kid of the goats, and dipped the tunic in the blood. 32 Then they sent the tunic of many colors, and they brought it to their father and said, "We have found this. Do you know whether it is your son's tunic or not?" 33 And he recognized it and said, "It is my son's tunic. A wild beast has devoured him. Without doubt Joseph is torn to pieces." 34 Then Jacob tore his clothes, put sackcloth on his waist, and mourned for his son many days. 35 And all his sons and all his daughters arose to comfort him; but he refused to be comforted, and he said, "For I shall go down into the grave to my son in mourning." Thus his father wept for him. 36 Now the Midianites had sold him in Egypt to Potiphar, an officer of Pharaoh and captain of the guard.

Matthew Henry's Commentary on Genesis 37:24-36

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.

Commentary on Genesis 37:31-36

(Read Genesis 37:31-36)

When Satan has taught men to commit one sin, he teaches them to try to conceal it with another; to hide theft and murder, with lying and false oaths: but he that covers his sin shall not prosper long. Joseph's brethren kept their own and one another's counsel for some time; but their villany came to light at last, and it is here published to the world. To grieve their father, they sent him Joseph's coat of colours; and he hastily thought, on seeing the bloody coat, that Joseph was rent in pieces. Let those that know the heart of a parent, suppose the agony of poor Jacob. His sons basely pretended to comfort him, but miserable, hypocritical comforters were they all. Had they really desired to comfort him, they might at once have done it, by telling the truth. The heart is strangely hardened by the deceitfulness of sin. Jacob refused to be comforted. Great affection to any creature prepares for so much the greater affliction, when it is taken from us, or made bitter to us: undue love commonly ends in undue grief. It is the wisdom of parents not to bring up children delicately, they know not to what hardships they may be brought before they die. From the whole of this chapter we see with wonder the ways of Providence. The malignant brothers seem to have gotten their ends; the merchants, who care not what they deal in so that they gain, have also obtained theirs; and Potiphar, having got a fine young slave, has obtained his! But God's designs are, by these means, in train for execution. This event shall end in Israel's going down to Egypt; that ends in their deliverance by Moses; that in setting up the true religion in the world; and that in the spread of it among all nations by the gospel. Thus the wrath of man shall praise the Lord, and the remainder thereof will he restrain.