They weren't all civil cases, see link below.
Regardless, you're going to say that anyone standing for potential election should not be able to be prosecuted?
And where's your evidence of the courts' electoral interference: I've listed the cases, which one do you think was based on falsehoods?
It's really simple this, either you believe in the law and that no one is above it, or you don't.
Whether it helped Trump get elected or didn't is academic, but let's not pretend that there weren't cases to answer. The only people saying it was an unfounded witch hunt are his credulous supporters who thought anything he did was ok as long as he punished immigrants and brought prices down. Only half right there too.
en.wikipedia.org