Genesis 37:18-20
37:18 Now Joseph’s brothers saw him from a distance, and before he reached them, they plotted to kill him.
37:19 They said to one another, “Here comes this master of dreams!
37:20 Come now, let’s kill him, throw him into one of the cisterns, and then say that a wild animal ate him. Then we’ll see how his dreams turn out!”
Genesis 37:26-28
37:26 Then Judah said to his brothers, “What profit is there if we kill our brother and cover up his blood?
37:27 Come, let’s sell him to the Ishmaelites, but let’s not lay a hand on him, for after all, he is our brother, our own flesh.” His brothers agreed.
37:28 So when the Midianite merchants passed by, Joseph’s brothers pulled him out of the cistern and sold him to the Ishmaelites for twenty pieces of silver. The Ishmaelites then took Joseph to Egypt.