Deep waters / waters to the neck
Here’s what it means
Overwhelming trouble, enemies, grief, or judgment threatens to drown the speaker.
Why the Bible says it this way
The writer uses a picture to explain one thing by describing it as another.
A helpful detail: The distress may accompany real water in some narratives, but these poetic uses picture being overwhelmed.