The idiom "go to the dogs" means to deteriorate, decline in quality, or be ruined. This expression originated from the idea of leftover or unwanted food being thrown to dogs, symbolizing something that has lost its value or fallen into a state of neglect.