The text seems to be a statement about the evolution of laws, indicating that positive legislation can emerge from negative societal habits or traditions. It does not appear to play on different meanings of a word or similar-sounding words for a humorous or rhetorical effect.
Good laws have sprung from bad customs .