It's certainly better to have COBRA, and it does reduce the power that companies have over your health, but it's not a silver bullet.
[1] I won't say which company I was working for but it's not hard to find my work history if you want to make sure which companies to avoid in the future.