@mortywhile you can mitigate for ‘known knowns’, disasters will still occur no matter the building code. nothing is volcano proof, earthquake proof, flood proof, fire proof, etc….
even if you build an unsinkable ship, designs fail, unknown things happen, men are men and nature is nature. it is the ultimate hubris to believe you can build things to withstand everything.
that being said, building codes are important and proper regulations.