Christian version: do onto others as you’d want them to do onto you
Buddhism: don’t get bad karma
Islam: None of you has faith until he loves for his brother or his neighbor what he loves for himself
(Compare and contrast with capitalism: the poor don’t work hard enough therefore should suffer from poverty)
I agree and what I think is specifically meant with being nice is that you should to be respectful to each other. Anything else will get us nowhere in life.