When a good man is close to another good man, he will get better. On the other hand, when the good man is close to another bad man, he will become the bad man if the bad man doesn't become the good man.
When you make friends with anyone, you will be the same as him if he is not be the same as you. This is the human nature.