‏ Genesis 40:4

4The captain of the guard appointed Joseph to be with them, and he attended them. They continued for some time in custody.

Copyright information for ESV