This is true, but it implies that laws that, for example, allow discrimination on religious grounds are passed to prove that a particular group follows a certain religion.
That is not the case. Such laws are not passed to prove morality or faith, but as a preemptive strike against lawfare. People who believe their religion forbids them to facilitate certain ceremonies don’t want to be sued for refusing to facilitate such ceremonies. The point isn’t to show that their religion forbids something, but to be excused from forced participation.