The text is a proverb suggesting that if one is going to be punished for a small offense, they might as well commit a larger one. It does not play on different meanings of a word or similar-sounding words.
One might as well be hanged for a sheep as a lamb .