The only way to break the cycle is to have a safe supply of prescribed drugs, an alternative to (often literally toxic) street drugs. This would mean that persons don't need to raise money to buy street drugs, which should reduce the related petty theft, but this is not the status quo "war on drugs" approach so it remains politically challenging for weak politicians.
The status quo continues where police pretty much don't have options other than to harass drug users and confiscate drugs, which only makes things worse as drug users with no money now have to raise more money yet again to buy more drugs, potentially stealing again.
The "tough on crime" path is often advocated by people frustrated and wanting to see police knock some heads around, but it leads to the unsustainable and wildly expensive absurdities of like jailing people for stealing deoderant and such incredibly minor crimes.