Confucius held that one should 'repay a wrong with fairness', a line from Xianwen in the Analects.
Tips
history
Books of the Analects are named after their first words. This one opens 宪问耻 'Xian asked about shame', Xian being the disciple 原宪. It also holds the exchange on 以德报怨 and the line 修己以安百姓 'cultivate yourself to bring peace to the people'.