The captain of the guard assigned Joseph to attend them, and he took care of them. They remained in custody for some time.
In context
2Pharaoh was angry with his two officials, the chief cupbearer and the chief baker, 3and put them in custody in the house of the captain of the guard, in the same prison where Joseph was held. 4The captain of the guard assigned Joseph to attend them, and he took care of them. They remained in custody for some time. 5One night the cupbearer and the baker of the king of Egypt, who were confined in the prison, each had a dream — both of them, on the same night, each dream with its own meaning. 6When Joseph came to them in the morning, he saw that they looked dejected.