If we make a slight change to a famous or poplar phrase or sentence, it is a rhetorical figure called “parody”. For example, we say “Like father, like son” instead of the proverb “Like mother, like daughter”.