4 And the chief of the executioners assigned Joseph to be with them, and he served them. And they were in custody many days.
Genesis 40:4 Cross References - LITV
Genesis 37:36
36 And the Midianites sold him into Egypt, to Potiphar, a eunuch of Pharaoh, the chief of the executioners.
Genesis 39:1
1 And Joseph was carried down to Egypt. And Potiphar, a eunuch of Pharaoh, the chief of the executioners, an Egyptian man, bought him from the hand of the Ishmaelites who had carried him down there.
Genesis 39:21-23
21 And Jehovah was with Joseph, and extended kindness to him. And He gave him favor in the eyes of the warden of the prison house.
22 And the warden of the prison house gave all the prisoners in the prison house into Joseph's hand. And all which they did there, he was doing.
23 There was no looking of the warden of the prison house to anything in his hand, in that Jehovah was with him, and Jehovah was prospering what he was doing.
Psalms 37:5
5 Roll your way on Jehovah, and trust in Him; and He will work.