Wangsun Jia (王孫賈) was the chief minister of Duke Ling of Wei (魏), the ruler of one of the states that Confucius visited in his fruitless quest for engagement as an advisor. No doubt feeling threatened by the arrival of the sage, he obliquely warned Confucius to go through him rather than directly to his ruler by quoting an old proverb.
Appearances in the Analects of Confucius
Book 3, Chapter 13
Wangsun Jia asked: “What does this saying mean: ‘Better pray to the kitchen god rather than the household gods’?” Confucius said: “This is nonsense. If you sin against heaven, you have no god you can pray to.”