Pledge of Allegiance was created to build a common or shared sense of nationalism in American civic culture.
The Pledge of Allegiance of the United States is an expression of allegiance to the flag of the United States and the republic of United States of America.