The primary reason I stopped drinking was that my partner had a habit of drinking too much and eventually it got excessive to the point we both decided to cut it out. We stopped associating with the people who we regularly drank around. Once the social pressure was gone, it was actually very easy for me to stop because I personally never really cared for it in the first place.
I think weed, in moderation, is a great replacement for alcohol if you want to continue socializing with others in “intoxicated scenarios”, but ideally I think it’s best to try associating with people who can have fun without drugs. I think conversations and bonding are so much richer and more meaningful when sober.
My 2¢, for what it’s worth.