Genesis 37:35-36 New Living Translation (NLT)

35. His family all tried to comfort him, but he refused to be comforted. “I will go to my grave mourning for my son,” he would say, and then he would weep.

36. Meanwhile, the Midianite traders arrived in Egypt, where they sold Joseph to Potiphar, an officer of Pharaoh, the king of Egypt. Potiphar was captain of the palace guard.

Genesis 37