Why do We Say the Pledge of Allegiance?

We say the Pledge of Allegiance to honor the United States of America and the freedom we have gained. A requirement in the past, the Pledge has been through court to be decided that reciting it cannot be required of students.