What if marriage was taken out of government?

marriage is a religious event, but the gov is treating it like it’s not, and turning a once beautiful thing into a contract that the wife or husband can divorce and ruin the life of the former spouse. And, there would be no gay marriage debate because marriage would not exist according to the government.
And it’s one way to keep the government out of our lives.

I hope you are not a lawyer. Your plan would put a lot them out of business. Sounds good to me.