Actually, that line was from "Treasure of the Sierra Madre."
I prety sure that Mel Brooks used it in Blazing Saddles. See the scene where Hedley LaMarr is hiring his gang to pillage Rock Ridge.