The Pledge of Allegiance was rammed through during the 1950s and has no legitimate association with the Fourth of July, the Constitution, the Bill of Rights, or the Declaration of Independence.
That kind of compulsory group behavior is a violation of the spirit of all those things, in my opinion.