Gautama Buddha said this quote

Those who attempt to conquer hatred by hatred are like warriors who take weapons to overcome others who bear arms. This does not end hatred, but gives it room to grow. But, ancient wisdom has advocated a different timeless strategy to overcome hatred. This eternal wisdom is to meet hatred with non-hatred. The method of trying to conquer hatred through hatred never succeeds in overcoming hatred. But, the method of overcoming hatred through non-hatred is eternally effective. That is why that method is described as eternal wisdom.