Overall I wish we lived in a world where they are not needed. But in every community, some people are assholes so they are often needed.
I would say incorrect. All that is true is that something is needed, but there is nothing about the problem that requires that particular poor framework for dealing with it.
It just means you get different kinds of assholes who are better at navigating around the CoC or even weaponizing it.
Communities were doing just fine without a CoC up until they became a trend. People got banned too but the moderators couldn't hide behind a CoC to justify questionable decisions.