How about all the 'goodnight' ballads written by, or at least put into the mouths of, various villains on their way to the gallows? They usually end with a warning not to do what they have done (rather than to make sure you don't get caught).
Valmai (Lewes)