Jonah 2:6

2:6 I went down. Jonah was at death’s door. His slow, silent descent through the depths, like a journey to the underworld, had brought him to “the gates of death” (Ps. 9:13).

you brought up my life from the pit. Here “pit” is used to describe the realm of death (Job 33:22, 24; Ps. 49:9; Is. 51:14). Despite the hopelessness of the circumstances, the repentant prophet is rescued from the realm of the dead and restored to communion with God.