No system of rules or laws can fully account for people acting in bad faith.
I think the founding fathers counted on social shame to limit bad faith actors in government. A dishonorable person used to become a social pariah and might even get killed in a duel back in the 18th century. People wouldn’t associate with them, sign a contract with them, or lend them money. But now?
I touched on one of my pet theories as well; the Constitution was written assuming dueling would be a safety valve. Holding office was originally limited to land-holding men, so the high class. They were mostly the only ones that did dueling back then. It was technically illegal, but it was a law for the common folks. At the time dueling was often done with pistols, which was paradoxically safer than swords. A duel with a sword always ended with blood. A pistol duel could end with both parties missing (often intentionally) and be considered a finished matter. Both parties would agree to a compromise that preserved the honor of each.
It sounds insane, but I suggest bringing back dueling. Just for federal elected officials though. Just the threat of a duel would make the assholes who take office just to enrich themselves run for the hills. They would never actually put their own ass on the line. You would actually have to believe in something enough to die for it to take office.