What a ridiculous statement. Most of our civil law is based on morality.
Sorry, the only thing ridiculous is that you think if you legislate morality it will stop all indecency.