Continuing to laugh and joke with your fellow Muslim, without advising him if he does something wrong is betrayal.
Mixing with People of Good Character
It is reported that Al-Fuḍayl b. ʿAyyāḍ – Allāh have mercy on him – said:
Do not mix except with those who have good character; for the one who has good character brings nothing but good, whilst the one who has bad character brings nothing but evil.
Al-Bayhaqī, Shuʿab Al-Īmān, #87044
Also read
Related sayings.
Some of the evils that come with loving authority and seeking power.
Birds of a feather flock together. The souls of men are allied, like with like.