The U.S. Supreme Court has previously ruled that students are not compelled to say the Pledge of Allegiance .