And half the software products are worse than that.
Any organisation that said "let's move fast and break things" is now busy finding out what's actually broken.
If no attacker reaches system X you are not as exposed as with your internet facing frontend.
But, and it's a big but.
Each layer must be made as security as possible or one flaw can lead to all the layers below it collapsing.
Not reaching system X is just security by obscurity. People have learned the hardware just because something isn't directly connected to the internet that doesn't mean attackers can't reach it. For example clever data poisoning attacks can reach deep into organizations and breach systems you'd never expect.
Truly mature software doesn't get used, because people see low activity on github and assume it's "dead" or see no new features in years and assume that it's stagnating.
And the average product is solving much easier problems (in terms of low-level programming, which is where the worst bugs tend to be) than a high-performance database.
The process of learning C++ (and to a much lesser extent, C) is almost exclusively one of learning about the footguns and how to avoid them. It's a life-long process, nobody ever finishes it.