If you solved homelessness (not with magic, but with money) for everyone with a substance use disorder, then a lot more people would seek treatment, and a lot more would be successful. Even better, you could make that housing into supportive housing, which would prevent deaths from substance use in isolation.