The lines have never ceased to haunt me since I came across them, as a child, possibly in some version of the Oxford Dictionary of Nursery Rhymes.