New International Version

Genesis 37:28 New International Version (NIV)

So when the Midianite merchants came by, his brothers pulled Joseph up out of the cistern and sold him for twenty shekels of silver to the Ishmaelites, who took him to Egypt.

Genesis 37

Genesis 37:27-36