At this point in the story it is very clear Joseph is not in control. He's not the main character. God is. And God is with us in the pit.