Instead of dropping out of school and joining a gang, would be thug could get a degree and “gentrify” themselves so they don’t end up in jail.
They don't even need to get a degree. There are Vo-Tech schools which will teach them highly marketable skills like HVAC, plumbing or auto mechanics.
Of course, it is still a harder way to earn a living than mugging.