To show patriotism and support for their country. I live in America and I don't say it though. I believe that the majority of the time a national anthem is used to brainwash pathetic, mindless people just like the pledge of allegiance.
calixa lavallee (music) and Robert Stanley weir (lyrics)
The national anthem of Canada is: "Oh, Canada"
Peter Israel wrote the National Pledge of Dominica