Always forgive your enemies; nothing annoys them so much.
Forgiveness, Wilde suggests, can be a form of quiet victory. An enemy usually wants a reaction, whether anger, bitterness or a return blow. When you respond with calm generosity, you take away the thing they were fighting for, and that is what irritates them. The joke works by turning a solemn moral instruction upside down. The old Christian call to love one's enemies was meant as a path to goodness, and Wilde, who loved paradox and delighted in puncturing pieties, plays it as a mischievous tactic. The line is widely attributed to him, though its exact source is hard to pin down.
Behind the humor there is a real insight. Holding a grudge keeps you tied to the person who wronged you, while letting go loosens that hold. You may not feel saintly, but you do get to stop spending your energy on someone else's hostility.
Imagine a colleague who took credit for your work. You could plot a counterattack, or you could stay polite, say good morning, and keep doing excellent work without resentment. You are not pretending it never happened. You simply refuse to let it run your mood, and your composure does the rest.