I don't dispute your points but to have an honest comparison you do need to consider the amount of harm negated during the time of incarceration.

Some people get stuck in shitty life situations and resort to crime. Some people are legitimately bad and enjoy harming people.