"anyone" is the same as neighbor. At least, according to the parable of the Good Samaritan. A man lay injured in the ditch by a road. Many fellow Jews passed by and offered no assistance. Finally, a Samaritan (Jews typically looked down at Samaritans as not being worthy) came by, saw the injured Jewish man and carried him to the nearest "inn" and paid, with his own money, for the injured Jew's care, with no expectation of ever getting it back.
So, who was the injured man's "neighbor"? Not his fellow Jews who left him to suffer or die. An 'enemy' of Jews saved him. Jesus' point was that all people are everyone's neighbor.