Defense is very hard. Offense, by comparison, is much easier. An attacker has to win once, and then they’re in.
A defender has to win every time, which is much much harder, if not impossible.
No matter how many lines of defense in depth you have, protecting the surface area of a product or service is always going to be harder than attacking it.