Read Matthew 5:47 Using Other Translations
And if ye salute your brethren only, what do ye more than others? do not even the publicans so?
And if you greet only your brothers, what more are you doing than others? Do not even the Gentiles do the same?
If you are kind only to your friends, how are you different from anyone else? Even pagans do that.