Unfortunately the US system of justice incentivizes police to close cases and prosecutors to obtain convictions. That’s how officers become detectives and how prosecutors become politicians or judges.
The idea to ensure they have the right guy is secondary.
The one point too many people overlook. Its not about justice, it’s about winning.Thats why you have cases where people are cleared and DA’s retry them anyway because the wrongful conviction is a black mark on their record.