john-state-moz
Many injustices exist because groups of people can hide behind hypocrisy; pretending to be different from those they target, while engaging in the same behavior themselves. When there is nowhere to hide, there is nowhere to shut out the reality that we're all just advanced animals doing the best we can.
Unfortunately, as u/devoply mentioned, there will be significant pain (and yes, bloodshed) in this process as the legal system's many flaws will be writ large.
In the best scenario we'll eventually use systems like this to form more realistic and flexible societies, rather than as tools to enforce rigid ideas.
The hard part will be that as these surveillance networks develop, they won't be perfect. Their creators, elites, etc. will be able to use surveillance for thee and not for me. That, IMO is the thing to watch out for. If average citizens are going to be watched, everyone must be watched.
Edit to clarify my use of "elites": I use it here to mean anyone with enough money, power or influence to shield themselves from surveillance.