This race is going to the dogs.
This election is going to the dogs.
The race / election is becoming less successful than before. It is becoming worse in quality.
The country has gone to the dogs / has gone to ruin / is going to the dogs / to ruin due to famine.
He was a lovely man, but his drinking problems caused his private life to go to the dogs.