When you say you are “trying” to abstain you have already been conquered. God has promised us today, get thru today and commit to yourself to not do it, not try, do not do it.
If you are around the people that make you want to do “x” stay away from them. You cannot be on a diet and walk into a donut shop.
Seek professional help, professional Godly help.
Prayers for you.
Prayers for you.
This is not uncommon, but I have questions, suggestions,
Do you reach out to them?
Do you visit them or ask to visit? Or can you visit?
Can you move near them?
If you are healthy, join Facebook groups whatever you are interested in and keep yourself busy.
I go out by myself all the time and meet new people. But there is something to having a close friend or acquaintance.
But also you are never alone, God is with you 24/7.
Submit your prayer request. Thousands of caring people will see it and pray for you.
Jeremiah 29:13