Earliest version in Zhuangzi 《
庄子·
山木》: Zhuangzi wanders into a chestnut grove and sees a cicada enjoying shade, oblivious to a mantis about to strike — the mantis itself oblivious to a strange magpie about to seize it. Later expanded by Han-dynasty Han Ying
韩婴 in 《
韩诗外传》 to the more familiar mantis-cicada-oriole chain. A signature Daoist parable about chains of predation and short-sighted greed.