It's not perfect, as others have already said, but if you study the types of failures that can occur in the Bitcoin ecosystem, you'll notice that these are problems with very low probabilities of happening, and most of them requiring astronomically high computational power to happen.
I agree with you it is inevitable but we can change that if we handle everything with care and follow every precautionary measures being said to us and by that we can be assured that these kind of problems won't happen to us.