So you'd say i could still be friends with them as long as it doesn't effect my relationship with god?
Your role is not to be their friend, your role is to be their light, reflecting the light of Jesus.
That doesn't mean walking around with a beatific expression, but it does mean maintaining the character of Christ.
It means you don't drink when they intend to get drunk. It means you don't use profanity when they use profanity. It means drawing a line for them when the Spirit tells you they're getting out of line.
But it wouldn't mean drawing away from them. Do your Jesus thing and, if it comes to that, let them draw away from you.
For you have spent enough time in the past doing what pagans choose to do--living in debauchery, lust, drunkenness, orgies, carousing and detestable idolatry. They are surprised that you do not join them in their reckless, wild living, and they heap abuse on you. 1 Peter 4
But I had the experience when I was a young guy in the Air Force. Back then, the military culture pushed heavy drinking. We had squadron parties where the commander himself supplied the beer. "Work hard, play hard." Getting drunk after a period of tough duty was the communal thing to do.
I was never a significant drinker, but the Holy Spirit instructing me not to drink at all at these functions. I didn't perceive it as a general prohibition of alcohol, but an instruction not to drink at these functions. So I didn't.
During my time in that unit, I enjoyed quite a bit of success, gained promotions, and was very well respected in the unit and on the base.
When it came time to leave, they had the usual "farewell" party for me. But then a younger troop caught me privately. He said that he was a Christian and wasn't a drinker, but he'd felt pressured to drink in order to fit in with the group. He had noticed that I didn't drink, but yet I was still successful and respected, which had encouraged him.
So even if some of your acquaintances draw away from you because you don't join in with everything they do, you may still be an encouragement to someone.