There is not team that is 100% bad so you don't need a full rewrite of 100% of the code base.
What people rewrite is not really bad code, it's just middling annoying muck code.
What people rewrite is not really bad code, it's just middling annoying muck code.