What would you replace the "pledge of allegiance" with?
In the US most students recite "the pledge of allegiance" every morning before school, which is kind of crazy. If you were in charge, what if anything would you replace it with?
If you want your citizens to be loyal, give them a good life, not a brainwashing.
I am a Swede, my life has been good, I may not be physically fit for fighting, but I absolutely would join the military and do support for the fighting for Sweden if needed.