Here's the problem with this statement. ALL legislation is morality-based. Consider what the new healthcare bill was? That bill says that it's a moral injustice that those with pre-existing conditions can't qualify for healthcare at the same cost as those without them.
Since that's clearly not an economically advantageous legislative decision for the country at large, it's a moral one.
If you want to stop legislating morality, you need to stop legislation altogether.