As an attorney that worked for Legal Aid in a past life, I offer the observation that people in poverty have an entirely different experience with the legal system than folks who are not desperately poor. A traffic ticket turns into an inescapable pile of court debt, your license gets suspended because of the debt, but you have to drive to get to work. You get caught driving on a suspended license then you miss your first court date because the notice went to an old address that you were evicted from, then you are late to your second court date because your boss wouldn't let you out the door. Then your kid gets sick and you miss another date, but your phone is dead and you can't call the court, and the judge throws your ass in jail for contempt. You miss work, you lose your job. You are absolutely panicking, and possibly incredibly cynical and angry to boot. Once you've got the system looking at you, the attention offers numerous ways to fuck you thirty times to Tuesday, in ways that reach beyond the direct action of the system.
I am not justfying crime, but I have seen enough variations of the aforementioned scenario to understand that for some, this translates into an extremely nihilistic view of a very small world where the morality of certain behavior stops being evaluated.
Again, not excusing responsibility, but just sharing what I've encountered - I've also witnessed people that seem like perfectly well adjusted folks who suddenly commit shockingly criminal acts, and seeing this transformation occur, it is clear that something just isn't right in their head. Don't know if it's nature or nuture, but they're subtly broken and there's probably not a damn thing that can fix them. These folks are far fewer in number than folks driven by worldview shaped by desperation.