https://knowyourmeme.com/memes/look-at-me-im-the-captain-now
From a 2013 "big budget" movie (Tom Hanks etc.) about a piracy incident during a period when the Somali coast was notoriously dangerous:
https://en.wikipedia.org/wiki/Maersk_Alabama_hijacking
If setting out sailing etc., three regions, in particular, absolutely warrant a look into advisories etc.: the waters around Malaysia / south of China / etc., off the east / west coasts of Africa (more recently, west, but sometimes east), and certain areas of the Caribbean.
The ocean is much like other regions with human traffic in the sense of there being "bad areas" ... but, it's also different in ways that kill people all the time. It's not worse than land, per se, but, definitely easy to get into trouble without at least a little education (generally, best to get from reputable people / services that exist in particular regions - of course, you can still get into trouble, but, much less so than people who just hop on vessels with no real experience for "an exciting adventure" ... too easy for it to get way more exciting than almost anyone raised on "Hollywood" movies wants in real life).