What if it's not religious? These views may be majority religious but are not totally. Carl Benjamin is an atheist with very similar views. We just believe it is what makes a decent society, religious or not. If someone imposed a dress code on me I'd follow through such things as long as I still maintain my own privacy in my own home etc. Societies have rules whether you like them or not.
China has rules too. So does North Korea. There are overly restrictive, heavily prejudiced rules that don't stem from religious origins, sure, but the same logic of separating personal views from lawmaking concerning the private lives of citizens still applies.
That societies have rules says nothing about the ethical, practical, or logical value of those rules. If a bloc of politicians want to take away a freedom a group has, such as the ability to marry whoever they love, then they need to provide practical reasons as to why, not just a statement of personal preference or a heavily subjective endorsement such as "it makes a decent society."
When I think of useful government, I think of a structured entity working to preserve and advance the common interests of all segments of the population. I don't think of ideologically bombastic slogans or appeals to tradition that run roughshod over the freedoms of a subset of the population under the banner of national identity or social cohesion despite being underpinned by inherently divisive and exclusionary views.