Jonah describes his near-death confinement and distress as being in the depths of the grave.
How to understand this phrase
Keep in mind
Jonah was really inside the fish. The Sheol language expresses the death-like extremity of that experience and does not make the fish figurative.