Critical Explanation of Genocide in the Bible(youtu.be)
Read the parable again. It was from the point of view of the robbery victim. It pointed out that the Samaritan was his neighbor because he effectively participated positively in his community whereas the Jew did not. Such community participation is generally along ethnic lines.
It isn't from anyone's point of view, it's in third person. He said to do as the Samaritan did. Also, Jews and Samaritans were enemies and not of the same ethnic group.
If Jesus was saying love everyone, he would just have said that. It wouldn't require a parable. I guess not everyone can interpret simple statements.
He did say love everyone. Many times. The Pharisees were still trying to trap him, so he countered them with parables.