that he locked them up in the prison dungeon operated by the captain of the guard, the very place where Joseph was imprisoned.
arrested Joseph, and locked him up in the same prison where the king's prisoners were confined. So Joseph remained there in prison.
The prison warden did not have to worry about anything under Joseph's care, because the LORD was with him. That's why Joseph prospered in everything he did.