“He does not reject evil.” (36:5)
It is not enough to passively avoid evil. If your friends are doing bad things and you close your eyes, you become a party to it. Shetika k’hoda’ah dama’i, silence is the equivalent of consent. As the great parliamentarian, political philosopher, and statesman Edmund Burke said, “The only thing necessary for the triumph of evil is for good [people*] to do nothing.” If you hear a racist/sexist/homophobic joke, the only acceptable response is to reprove the teller. You don’t need to shout. You need only to clearly and calmly state your objection.
*actual quotation, “men”