"I pledge allegiance to the flag of the United States of America, and to the republic for which it stands, one nation under God, indivisible, with liberty and justice for all."
It’s a pointless, anodyne and unobjectionable pledge that prescribes nothing.
It’s stupid, but not remotely comparable to DEI statements, or commitment to much more specific political ideals.