This quote isn’t actually known for its appearance in movies, although it did make an appearance there. It is widely known for its occurrence in the series with the yellow people called “The Simpsons”.
I love this series and I have a soft spot for the fat, beer-drinking, bald, couch potato called Homer Simpson. Homer Simpson isn’t one for luck and usually things don’t go as he had planned. It’s the exclamation that he’s most famous for: “D’oh!”.