I'm more interested in ancient thinkers. Maybe there are notable people with such views who lived before Jesus.
I will use the term friendliness as a treatment of someone as a potential friend. And a friend is the person whom you wish well-being and believe that person wishes that to you either. I'm pretty sure Jesus did not mean to treat everyone as an actual (which is different from potential) friend (neighbor). Look for the parable of good Samaritan, for example.
If it's unclear, why do I say that Jesus put justice and friendliness in opposition. At first, there was a difference between these two in the time of Jesus. And the difference exists nowadays. It was just to judge and punish someone. And Jesus told us to forgive. Also, look at the Sermon on the Mount. Jesus clearly is against justice and for forgiveness (friendliness).