L-esprit-de-l-escalier Definition

noun

(idiomatic) A conversational remark or rejoinder that only occurs to someone after the opportunity to make it has passed.

Wiktionary