The Bible teaches to renew your mind. If your mind is renewed enough, it doesn't matter what's thrown at you, you can resist. Anyway, though, it can be expected that all cannot renew their minds as fast as others. In that case, the Bible tells us to cut off stuff that tempts us to sin too much.
The kind of people we associate with also matters. The same Bible says iron sharpens iron. Meaning does we associate with can help us renew our minds or even destroy it more.
What does renewing the mind actually mean according to Bible. Can you actually give reference from the chapter in the Bible where it is mentioned about renewing mind? Is there a process mentioned about how we go on renewing our mind?