Some like It Hot [1959] ending
After several humorous chases (and witnessing yet another mob murder), Jerry, Joe, Sugar, and Osgood escape to the millionaire’s yacht. Enroute, Sugar tells Joe that she’s in love with him and not with “Junior”. Jerry, for his part, tries to explain to Osgood that he cannot marry him, but Osgood is oblivious to all of Jerry’s objections and remains determined—to the very end—to go through with the marriage; finally, Jerry removes the wig and yells, “I’m a man!”, prompting Osgood to utter the movie’s memorable last line: “Well, nobody’s perfect.”