Voluntary separation of incompatible groups and a legal opt-out for counties/districts prevent tyranny.
That way people can choose to live under their preferred conditions and rules.
Life often involves trade-offs and inconsistencies.
Race is real and an important factor, too. I prefer to live in a White society, mixing races is a recipe for disaster for all involved.
In case of tyranny massive coordinated civil disobedience is key.