legislature’s role in protecting religious liberty