The programme I work on is partly to try and keep crime down, and is operated to some extent for economic reasons. It's cheaper to help people and give them an opportunity to get their lives back on track than to wait for them to commit a crime and pay to sort out the problem afterwards. We get people with psychological issues, addiction issues, some are sent to us instead of being sent to prison, and some are just down on their luck.
My entirely unscientific observations are that people with psychological issues that have a criminal record tend to be from a childhood environment that was abusive, or where they were surrounded by crime.
I think ultimately it's a decision, and the responsibility rests on the individual. My job is to help people, but the responsibility is always with them, which some clients don't want to hear.