The story of the Good Samaritan is a perfect example of who the Jews prior to Jesus considered a neighbor to be, which was only their own race. Confucius lived over 500 years before Jesus and was teaching that very same message of treating others the way you wish to be treated regardless of race, so Christians should probably give the credit to Confucius.
Exclusivity was a key component of the Hebrew's religion prior to Paul who took it to the Gentiles, that is precisely why the Jews treated the man lying in the ditch the way they did in the story of the Good Samaritan. Jesus himself said very little about taking the Good News to the Gentiles, he mostly spoke to his disciples concerning the "lost sheep of the house of Israel". It wasn't until many years latter that Paul began to share his revelation of Jesus with the Gentiles.