Being genuinely friendly to others is the best way to encourage others to be friendly — being unfriendly to those who don’t reciprocate your friendliness isn’t. You show people what you want to see more of by how you act.
If you want more kindness in the world, put some there.