There is no doubt that forgiving is the best in general. And repaying injustice with forgiveness means repaying it with kindness
One example of Allah’s mercy, He doubles the reward for any good deeds. As for bad deeds, Allah only rewards the deed in proportion to it. In a hadith from Ibn Abbas (may Allah blesses him), that the Messenger of Allah (ﷺ) conveys, that Allah (ﷻ) says: إنَّ اللَّهَ كَتَبَ الْحَسَنَاتِ وَالسَّيِّئَاتِ، ثُمَّ بَيَّنَ ذَلِكَ، […]
There are many deeds being done by humans in this world. But the first deed that will be counted by Allah on the Day of Judgment is salah (prayer). If someone’s prayer is good, then he is safe and good to go.