While the Commandments are religious, they have an undeniable historical meaning. Simply having religious content or promoting a message consistent with a religious doctrine does not run afoul of the Establishment Clause. See, e.g., Lynch v. Donnelly, supra, at 680, 687.
Residents and others challenged the inclusion of the creche as a violation of the First Amendment's Establishment Clause. In a 5-4 decision, the Supreme Court rejected the challenge—ruling that the religious display on public property didn't violate the Constitution because the display also served a secular purpose