A second-grader’s singing of a fire-and-brimstone religious song in a public-school talent show does not violate the First Amendment’s Establishment Clause, and prohibiting it deprives her of free speech, a federal judge ruled Monday.

U.S. District Judge Freda Wolfson in Trenton, N.J., sustained a civil liberties challenge to the Frenchtown Elementary School District Board of Education’s refusal to let 8-year-old Olivia Turton perform “Awesome God” in the after-school “Frenchtown Idol” contest.