In the Zhuangzi, a monkey keeper hands out acorns. “Three in the morning and four in the evening,” he says. The monkeys are all angry. “Then four in the morning and three in the evening.” The monkeys are all pleased. Zhuangzi comments: “Neither the name nor the substance had changed, yet joy and anger were put to use.”
The idiom 朝三暮四 comes from this passage. Dictionaries say that it first meant to deceive people with a trick. Later it came to mean to keep changing one’s mind.