Malachi is more than capable of responding, but I will respond anyway:
No, it is not equivalent.
Incarceration is typically contrary to actual justice. If A murders B, instead of forcing A to compensate the family of B, we make B’s family pay to house, cloth, and feed A for X number of years.
That is justice? I want no part in it.