The line comes from Wayne's World, the 1992 comedy film spun off from the Saturday Night Live sketch. In the movie, Garth Algar delivers the pun while admiring Cassandra, turning Abraham Lincoln into Babe-raham Lincoln as the ultimate compliment. The film became a defining early 1990s comedy and many of its one liners entered everyday slang. This quote stayed in circulation through reruns, quote compilations and meme edits, where its short setup free joke still works for praising someone in an intentionally over the top way.