Why?
Our allegiances should be to the Creator and to principles. If our republic deviates from the principles, then we should get the republic back on track, not change our principles to match the government to which we have pledged allegiance.
Lest you forget how the pledge started...