And the “doctrine of unclean hands” is specifically applicable only where the “unclean hands” relate only to the matter at hand. So if you are an auto mechanic and I pay you $500 to fix my car, if you don’t do the job right I have no legal grounds to sue you if I paid you in counterfeit bills.
That is a terrible argument to make in support of a legal challenge in an election. The Federal courts did America a huge favor by dismissing all those legal challenges on the basis that the states filing the lawsuits lacked standing to challenge the election procedures in other states. Any Federal court that took up such a case and ruled on it would inevitably be forced to abrogate the authority of state governments and establish uniform voting standards across the entire country. And I can assure you that the national standard would be the loosest, fraud-prone processes of states like California and Washington — not a tight standard at all.