We would not jail people.
We would treat them. Criminals would be brought to know what they’ve done wrong and treated for the causes of their asocial behavior. They would, as a part of their treatment, be encouraged to voluntarily repay society. Potentially peaceful criminals would be taught to safely re-assimilate and contribute positively to the world.