l'esprit de l'escalier →
“Thinking of the perfect comment when it’s too late is called l’esprit de l’escalier or treppenwitz which is French and German (respectively) for ‘wisdom of the stairs,’ i.e. thinking of the perfect comeback while descending a staircase after leaving a conversation.”