If you knew a thing about software development, or the herculean effort required to develop and maintain a fast-moving operating system like macOS, you'd know how impossible it is to make it bug-free.
If you cannot create a perfection, then do not price it like it is.
And, that argument is not 100% valid, because macOS have became severely restrictive and limited OS in the past several years. In such limited and closed OS, you would expect to have a greater control over anything that can go wrong.
If you think maintaining the macOS is hard(which is), then what shall we say about the Windows?