1 Thessalonians 5:22
Stay away from every type of evil.
We as Christians can't avoid every type of evil. We live in a world full of sin. It's not like we can walk in the "I'm a Christian--- no sin allowed" bubble (but if someone has one of those, I'd love to borrow it.)
What this is saying that we shouldn't willingly go into the sinful lions' den. We shouldn't actively seek out porn, or adulterous relationships, or lies, or drugs... or any other kind of evil.
However, we all know that sometimes it finds us. We might be watching an innocent tv show and a commercial with a shirtless man walks in and we are like "ohhhh..." and then we have lust and then it's a downward spiral. We have to be very careful--- very careful.
How does this lead to encouraging people?
*If we know some is struggling with something, don't inadvertantly tempt them with it (ie going out to eat at a restaurant with drinks or watching an R rated movie)
*Try the best you can to keep your own heart clean (not easy I don't believe).
*Pray for others as well as yourself.
This world has a lot of things in it to tempt. Even things that can be good can be evil if we let them. We live in this world now-- so the trick is trying to figure out the balance between living in the now without sacrificing our tomorrow (ie Heaven).
God Bless You :)