Undertreatment of pain is now even worse thanks to prohibition tactics.
There is no perfect lock, nor is there a drug with abuse potential unabused by someone, be they rich and famous (Rush Limbaugh really struggled in that Rust belt mansion while his maid was treated like his personal drug mule) or dirt poor living on 400 bucks a month.
Some people are functioning addicts.
Probably people you interact with and trust.
Not every poor person is going to use a hundred dollars on drugs the minute they have it.
If you want poor people off drugs, decriminalization and the death of the War on Drugs comes first.
Unless you like seeing innoncent folks drop like fucking flies everytime some genius cuts their heroin with fentanyl instead of something inert.