Jack Nicholson quote "it takes a lot of damn gall...." -origin?

Somewhere back in the 1970’s , there was a line in a Jack Nicholson movie, where he sneers:
“it takes a lot of damn gall to …”
But don’t remember the rest of the line!
Can somebody help me complete the sentence? or the context?)

(Yeah, I know…it’s a pretty lame request…and way too vague…Sorry!.
But I used to use the quote with some old buddies as an in-joke between us, and after almost 40 years, can’t remember the original source.

Sure you’re not thinking of Arlo Guthrie, “Alice’s Restaurant”?

“Mister, you got a lot of damn gall to ask me if I’ve rehabilitated myself…”

All work and no play makes Jack a dull boy.

Was it* Carnal Knowledge*?

Carnal Knowledge was my thought too. Such a great scene.

Youtube link

Get a job!