18 Now when they saw him afar off, even before he came near them, they conspired against him to kill him. 19 Then they said to one another, "Look, this dreamer is coming! 20 Come therefore, let us now kill him and cast him into some pit; and we shall say, 'Some wild beast has devoured him.' We shall see what will become of his dreams!" 21 But Reuben heard it, and he delivered him out of their hands, and said, "Let us not kill him." 22 And Reuben said to them, "Shed no blood, but cast him into this pit which is in the wilderness, and do not lay a hand on him"--that he might deliver him out of their hands, and bring him back to his father.

23 So it came to pass, when Joseph had come to his brothers, that they stripped Joseph of his tunic, the tunic of many colors that was on him. 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?"

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

Commentary on Genesis 37:12-22

(Read Genesis 37:12-22)

How readily does Joseph wait his father's orders! Those children who are best beloved by their parents, should be the most ready to obey them. See how deliberate Joseph's brethren were against him. They thought to slay him from malice aforethought, and in cold blood. Whosoever hateth his brother is a murderer, 1 John 3:15. The sons of Jacob hated their brother because their father loved him. New occasions, as his dreams and the like, drew them on further; but this laid rankling in their hearts, till they resolved on his death. God has all hearts in his hands. Reuben had most reason to be jealous of Joseph, for he was the first-born; yet he proves his best friend. God overruled all to serve his own purpose, of making Joseph an instrument to save much people alive. Joseph was a type of Christ; for though he was the beloved Son of his Father, and hated by a wicked world, yet the Father sent him out of his bosom to visit us in great humility and love. He came from heaven to earth to seek and save us; yet then malicious plots were laid against him. His own not only received him not, but crucified him. This he submitted to, as a part of his design to redeem and save us.

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.