A small insect stands in a road and lifts both forelegs against an oncoming cart. In English we might say the man is tilting at windmills, or banging his head against a wall. Chinese picked the mantis, and picked it for a reason that most people have since forgotten.
The phrase is 螳臂当车 (tang bi dang che), a Chinese idiom meaning a mantis arm blocking a cart. It is used as an insult: hopeless, outmatched, too stupid to know it cannot win.
But the first person to say it was not insulting a weak man. He was warning a strong one.

The scene is a conversation, recorded in the Zhuangzi, in the chapter called In the World of Men. Two men are talking. One is about to take a job that will probably kill him.
His name was Yan He, and he was a recluse of the state of Lu. Another chapter of the same book describes him living in a poor lane, in coarse hemp cloth, feeding his own ox. The ruler of Lu sent an envoy with gifts. Yan He stood by the cattle pen and told the man he had probably misheard, and had better go back and check, so as not to be punished for the mistake. The envoy checked. Then he came back. Yan He could not get out of it.
A man who dodges a duke will not take just any post. But Wei asked him to teach its crown prince, and he went.
The crown prince was named Kuaikui. Every source that mentions him mentions the same thing: he was violent, and he was born that way.
Yan He went to see Qu Boyu.
Qu Boyu was the senior minister of Wei. He had served several rulers, survived several coups, and lived to a great age. Confucius praised him in a sentence that has been quoted by every Chinese official since: when the state was well governed he took office, and when it was not he rolled his abilities up and kept them in his sleeve.
Yan He did not waste time on courtesies.
There is a man here, he said, whose nature is to kill. If I let him have his way, the state suffers. If I hold him to the rules, I suffer. His intelligence is just enough to see other people’s faults and not enough to see why he has any of his own. What do I do with a person like that?
Any teacher reading this in the last two thousand years has probably stopped at that line. It is not a theoretical question. It is a man asking, the night before he starts work, how not to be killed by his student.
Qu Boyu began with praise. Good question, he said.
Then: be careful. Be cautious. First, straighten yourself.
Then four lines that are the hardest in the chapter:
In your outward manner, go along with him. In your heart, keep your own balance. But both of these have dangers. Going along, do not sink into him. Keeping your balance, do not let it show on your face.
And then the mantis.
You do not know the mantis, he said. It swells its arms to block the rut of a cart, not knowing it is not equal to the task, because it thinks its own ability is beautiful. Be careful. Be cautious. If you keep parading your own excellence and use it against him, you are close to disaster.
Here is the thing worth pausing on.
Modern readers hear this and think: the mantis does not know how small it is. But the text does not say that. It says the mantis thinks its arms are splendid.
The mantis is not ignorant of its size. It is confident about its blades.
Qu Boyu was not comparing Yan He to an insect because Yan He was weak. He was comparing him because Yan He was a good man with a good argument, and good men with good arguments are the ones who walk into carts.
A bad man hits a cart once and learns. A righteous man hits a cart ten times and calls it martyrdom.
Two more images follow, and they go downhill.
The tiger keeper never feeds his tiger living animals, because killing makes it angry. He never gives it a whole carcass, because tearing one apart makes it angry. He watches when it is hungry and when it is full. He learns the shape of its temper. A tiger is not the same species as a man, yet it grows soft with the man who feeds it. That is because the keeper follows the tiger. The tiger kills when someone crosses it.
The horse lover is worse off. He collects the dung in a bamboo basket and the urine in a clamshell. He is that fastidious. One summer a gadfly lands on the horse, and he slaps at it, and his hand comes at the wrong moment. The horse shies, snaps its bit, smashes its own head, splits its own chest.
The line that closes it is four characters: the intention was all love, and the love was lost.
Qu Boyu stops there. A mantis, a tiger, a horse: the three images are the whole of his advice, and they are why this reads like a Chinese fable and not like a job description.
He never tells Yan He how to make the prince good. Everything he says is about not being trampled.
The story could end there, as a fable with no ending. But Kuaikui was a real man, and his record is uglier than the parable.
He was the son of Duke Ling of Wei. The duke’s wife, Nanzi, was a woman with a scandalous reputation, and Kuaikui found her humiliating. In 496 BC he arranged with a servant to kill her during an audience. On the day, the servant lost his nerve and looked at him three times without moving. Nanzi noticed, screamed, and ran to the duke shouting that the heir was trying to murder her.
Kuaikui ran. He left Wei and went to Jin, and stayed away for more than a decade.
When Duke Ling died, the people of Wei did not recall him. They put his own son, Zhe, on the throne. The official reason was that a state cannot go a day without a ruler and the father was abroad. The real reason was that nobody wanted him back.
Kuaikui waited in a border town. In 480 BC his sister, married into the Kong family, and her son Kong Kui were running the state. He slipped back into the capital, forced Kong Kui at sword point to swear an oath, and took the palace in the night. His son fled.
That night the Kong compound turned into a battlefield.
Zilu, one of Confucius’s oldest disciples, was Kong Kui’s estate manager and was outside the city when it started. He turned around and rode in as the gates were closing. Someone told him to run. He said that a man who eats another man’s salary does not abandon him when things go wrong.
He went into the fighting. A blow cut the cord of his cap. He said: a gentleman dies with his cap on properly. He retied the cord, and then he was killed.
Confucius was seventy-two and in Lu. When the news came he was at table. He put down his bowl and ordered the household to throw out every jar of meat sauce. He never ate meat sauce again.
So was Qu Boyu right?
Yes. It came true in the ugliest possible way.
Only it came true for somebody else. The sources say nothing about what happened to Yan He after that conversation. The Zhuangzi simply moves on to a carpenter and an oak tree, as if the man on his way to Wei had vanished back into his poor lane.
Kuaikui got two years on the throne and was driven out again. He died on the road.
Last, how the four characters acquired their present meaning.
From three words: not equal to the task. They are in the original sentence. The clause before them, about the mantis admiring its own arms, is the part everyone drops.
So the mantis went from a talented man who overrates his talent to a fool who has none.
There is a second thread. The Outer Traditions of Han tells of Duke Zhuang of Qi out hunting. A mantis on the road raised its forelegs at his wheel. The duke asked his driver what kind of creature that was. The driver said: that is a mantis. It knows how to advance and not how to withdraw. It never measures itself and it treats enemies lightly.
The duke said: if that were a man, he would be the bravest man in the world.
And he turned his cart aside and went around it.
The same gesture. One man looked and saw danger. One man looked and saw courage.
The insect did not change. What changed was the eye.
Today the four characters are a Chinese proverb of the dismissive kind, and there is usually a laugh attached. The person laughing is standing on the cart side.
If you ever find yourself with your arms up, it is worth checking two things first: who is driving, and whether you really only have two arms.