By any reasonable measure at this point in the campaign, Donald Trump’s odds of winning re-election in 2024 are probably significantly better than winning the criminal cases against him.
And winning re-election is Trump’s key to staying out of prison since he could then shut down the federal cases pending against him.