the flag, when raised and treated proper, shows that one has pride in their country, and by participating in the national anthem, you feel the pride of everyone around you
if you do both you show pride, and others see it, increasing the pride all around
i think this might be right