When Yang Huo presented Confucius with a piglet to win him over, Confucius returned it immediately. Confucius did serve for four years as a minor official in his native state of Lu.
孔子當然沒有替陽貨做事。但他曾經在魯國做過四年官，還代理了三個月宰相職。