When your enemy is making a strategic blunder, do not interfere with her. Sun Tzu, I believe.
Perhaps this is the quote that you are remembering and it is from Napoleon Bonaparte.
Never interrupt your enemy when he is making a mistake.
He also said, in referencing SanFranNan ...
In politics, stupidity is not a handicap.