Keep in mind that Jonah was in that fish for three days and nights before uttering this prayer. Do you suppose he was in shock, or thinking about what he had done, or sulking, or what?