If you can't know the intent (and you can't), then you must assume the worst intent and act accordingly. Anything else is naive.
Because I promise you one thing, I look up and see a stranger in my house, I'm attacking them immediately with no thought towards anything except protecting myself and everyone in the house. There will be no questions until it's over with.
If they were just looking to steal something for drugs, that can be sorted out once I've subdued them.
I was just saying drug addicts aren't necessarily garbage. They face lethal force because they've broken into one's home; not because "they're garbage".
A spree shooter killing innocent people in cold blood is garbage, and a terrorist blowing up a building is garbage, but a drug addict in awful pain due to terrible decisions acting purely on impulse to stymie the pain isn't garbage. They take their life in their hands if they break into someone's home, because that's how any break-in has to be treated, but that doesn't make them subhuman.
In my opinion, providing legal drugs and rehabilitation to addicts, free of charge, would significantly reduce these kinds of thefts and break-ins, in addition to a lot of other huge societal benefits. The system works by only allowing the addict to consume the drug under supervision; they can't take anything outside of the clinic. It seems to work very well in some European countries.