Our country since its inception had laws against obscenity and pornography, public displays of sexual behavior, homosexual acts and so on. Also divorce was very difficult to grant and socially looked down upon.
One by one, these legal prohibitions have fallen by the wayside thanks to leftists, a leftist SCOTUS and assisted by the communist founded ACLU.
Cause and effect go both ways.
Would these be laws in the states with state established religions?
Connecticut had a state established religion until 1818.
Massachusetts had state established religion until 1833
In New Hampshire you couldn't be a member of the state legislature unless you were Protestant until 1877.
In North Carolina you couldn't be a member of the state legislature unless you were Protestant until 1835 and you couldn't hold public office unless you were a Christian until 1876.
There is no question that these state established religions would not be acceptable today. Many of the laws based on those state established religions would also not be acceptable today.