Maybe you’ve read this already (I still have it in my stack to read so can’t give any personal review) but ‘Determined’ by Robert Sapolsky sets the argument that we don’t have free will and that the justice system is flawed because of that.
I read the article and I have to say, it's disturbingly compelling. Although I think that while we are unable to demonstrate intricate puppeting of real, conscious humans or something like that, there's some "truth" or "weight" in our thoughts and feelings that are genuine and outside of the typical sphere that free will governs (or, lacking that, fails to govern). Like, even if it could've been predicted with 73% accuracy at birth and 98% by age 25, the fact that someone deeply loves someone else doesn't seem like something to be written off as "this was in your genes and environment". It might still hold true in some sense if full-on mind control is invented, but then you wouldn't know if the feelings are real or fake, meaningful though they feel.
https://www.newscientist.com/article/2398369-why-free-will-d...