If you're using a modern web server like nginx, then you have to really do something wrong to get hacked serving static files.
And are basically free.
they just have more staff on hand to respond, run updates, and do the due diligence of checking and implementing patches.