I disagree with the OP on several issues.
1. I think people should say the pledge of allegiance in schools and in public institutions. If it is written well, it inspires loyalty and devotion to ones country and his people, not to the government.
2. Patriot oaths should cross the line of "abstinence" because you are supposed to glorify your nation. Nobody does things to be "average". Nobody wants an "average" country and be proud of it. You are supposed to show pride and feel proud of the accomplishments of your forefathers and hope to achieve more. It inspires greatness and that in turns, leads to greatness if properly nurished. Alone, it cannot do much but create morons... but together with something else, it can give birth to exceptionalism.
When religion condemns pride it condemns it in the context of the pharisees. People who got their fortune by being part of a mafia comprised of political leaders and jewish religious leaders at that time in Judeea, who exploited their people. In order to maintain their appearence and PR image, they would go out into the city streets with ash on their heads and pray to God and such... an act. since they would show their pride and their (i forget the word... the one that means showing off your devotion for public adoration). Also, one must not be proud of mediocrity and the pharisees, as well as others, were very mediocre people but they were the mafia. Also, don't be proud of bad deeds. Don't be proud of stupidity and weakness and all those bad things.
But that was out of line to some degree since the pledge of allegiance is done more in honor of those who did great things for their nations and that leads to pride. It is a whole different thing.