Do you not see that poverty can also be the cause of those behaviours, rather than the reverse?
Not being able to afford education, or clean clothes, or a permanent residence rules you out of 99% of the job market, which is why so many give up on the job search. As stated by OP (and many parts of society), this is morally wrong, akin to being sub-human, untermensch. Actually believing this sentiment contributes further to this negative feedback cycle and leads to depression which leads to drug abuse.