There are other ways of thinking about this problem than as a zero-sum matter of where to allocate tax dollars.
That's not even budgeting back the costs associated with housing and caring for this person in prison nor the time and energy that's going to go back into reintegrating this person into society.
Right, for instance in this world, we have to choose between, say, Jeff Bezos renting Venice for the weekend and school lunches for kids, or Elon Musk buying a presidency or programs to reduce prison recidivism. It’s a tough problem, and we’ve all gotta make sacrifices and make do.
You do know that there's this thing called a human interest story, and part of its point is to capture something of a narrative for its own sake yes? Stories like this cane make for very interesting reading. They don't have to include technology and hacks.