In that sense, it's no different than giving up sweets, or pushing through physical discomfort during hard exercise.
While drugs can cause mental illness due to brain damage, the amount of drug use required to get to that point is always a deliberate choice by the addict.
And the "tough life" "self medicating" BS is just that. Billions of people have harder lives and don't do drugs to self medicate.
I'm very sympathetic to the whole: "If you can't fix you I can't fix you" resignation of the situation. And I totally get people being over "solving the disease not the problem" rhetoric.
That's all normal.
But you're just flat out pulling justification out of your butt to feel better. Your compassion is limited and it's acceptable that it is. That's all.
Compassion for drug addicts does not mean letting them stay addicted. That is the cruelest thing you can do to them. Compassion for a homeless drug addict means forcing them into treatment so they can be human again.
Or, rather, their addiction - which is an illness - prevents them from making that decision. Right?