Since when do we look to the law for moral guidance?

It's legal for me to gain 250lbs., buy a yellow Speedo, and walk down Venice Beach. Perfectly legal. But that don't make it right, brother.