Earliest example of a song that subverts the expectation of a bawdy rhyme (better explained in OP)

I heard one a long time ago. I’m not sure when it originated. I did a search and found a discussion here about it.