Fundamentally, security is not about perfectly secure systems.
Such a thing might well be impractical, or impossible to find and/or maintain.
What security is though is risk reduction, not risk elimination.
It's about employing all the appropriate controls available to you, within reason, that allow you to improve your overall posture reducing the odds of making yourself a target, subsequently getting hacked.
Often, a good place to start when it comes to website security is your hosting environment.