So when the Midianite traders passed by, his brothers pulled Joseph out of the pit and sold him for twenty shekels of silver to the Ishmaelites, who took him to Egypt.
And as they sat down to eat a meal, they looked up and saw a caravan of Ishmaelites coming from Gilead. Their camels were carrying spices, balm, and myrrh on their way down to Egypt.
And the name of the slain Midianite woman was Cozbi, the daughter of Zur, a tribal chief of a Midianite family. ... “Attack the Midianites and strike them dead.
“Take vengeance on the Midianites for the Israelites. After that, you will be gathered to your people.” So Moses told the people, “Arm some of your men for war, that they may go against the Midianites and execute the LORD’s vengeance on them. ... Among the slain were Evi, Rekem, Zur, Hur, and Reba—the five kings of Midian. They also killed Balaam son of Beor with the sword. The Israelites captured the Midianite women and their children, and they plundered all their herds, flocks, and goods.
Again the Israelites did evil in the sight of the LORD; so He delivered them into the hand of Midian for seven years, and the hand of Midian prevailed against Israel. Because of the Midianites, the Israelites prepared shelters for themselves in the mountains, caves, and strongholds. Whenever the Israelites would plant their crops, the Midianites, Amalekites, and other people of the east would come up and invade them,
Caravans of camels will cover your land, young camels of Midian and Ephah, and all from Sheba will come, bearing gold and frankincense and proclaiming the praises of the LORD.
Then Joseph said to his brothers, “Please come near me.” And they did so. “I am Joseph, your brother,” he said, “the one you sold into Egypt! And now, do not be distressed or angry with yourselves that you sold me into this place, because it was to save lives that God sent me before you.
Then I told them, “If it seems right to you, give me my wages; but if not, keep them.” So they weighed out my wages, thirty pieces of silver. And the LORD said to me, “Throw it to the potter”—this magnificent price at which they valued me. So I took the thirty pieces of silver and threw them to the potter in the house of the LORD.