Actually this has its origins in the Bible.
"If your enemy is hungry, feed him;
if he is thirsty, give him something to drink.
In doing this, you will heap burning coals on his head."
Do not be overcome by evil, but overcome evil with good
Be kind to your enemy and you will convert him to a friend, killing the hostility between you by shaming him into submission, so to speak.