English has a phrase for this: hanging by a thread. Chinese goes further and puts a weight on the thread.
One hair, holding thirty thousand jin. A jin is about half a kilo, so the hair is holding something close to fifteen tonnes. Above, it is tied to nothing you can see. Below, the weight hangs over a drop with no bottom.
The idiom today describes any situation that is one breath from disaster.
The first man to use it was not describing a situation. He was describing a body of learning, and he was writing from exile.
The source is a letter by Han Yu, written in 820 from Yuanzhou, in what is now Jiangxi. The recipient was Meng Jian, a senior minister and a devout Buddhist. The letter is known as the Letter to Minister Meng.

To understand the letter you have to go back one year.
In the first month of 819, Emperor Xianzong of Tang sent a delegation to the Famen Monastery in Fengxiang to bring a bone relic to the palace.
The relic was a finger joint, said to have belonged to the Buddha. When the crypt under the pagoda was opened, the whole capital moved.
Han Yu described the scene in the memorial he wrote afterwards. Princes, officials, commoners, all of them running to give money and goods, terrified of being left behind. Some set fire to the tops of their own heads. Some burned their fingers. They did it in groups, and the practice had a name. Some took off their clothes and donated them. Some emptied their purses on the ground and walked away. It went on from morning to night.
Han Yu was fifty-one and vice minister of justice.
He sent up a memorial.
The sentence that did the damage was this: the more devoutly a dynasty worshipped, the shorter it lasted.
He gave examples. Emperor Ming of Han, who first brought Buddhism in, reigned eighteen years, and after him came disorder and collapse. The Liang dynasty, whose emperor gave himself to a monastery again and again, ended with its ruler starved to death inside his own capital.
The emperor read that and threw the memorial on the floor.
He has told me I am too fond of Buddhist worship, he said to his ministers. I can forgive that. But to say that dynasties which worship devoutly are short-lived, what kind of language is that. A subject who speaks this way cannot be pardoned.
He wanted Han Yu killed.
Two senior ministers, Pei Du and Cui Qun, interceded. His words were harsh, they said, but his intention was loyal. And a ruler who kills a man for a remonstrance leaves a mark in the histories that never washes out.
The emperor calmed down a little. He changed the sentence to exile. Han Yu was sent to be prefect of Chaozhou.
Chaozhou is in the far south, in Guangdong. From the capital it was eight thousand li.
Han Yu left the same day.
At Blue Pass, in the mountains east of Chang’an, the snow was heavy. His grandnephew Han Xiang came out to see him off. On the road he wrote a poem. The first two lines are among the most quoted in Chinese:
One memorial at dawn to the ninth heaven. By dusk, eight thousand li to Chaozhou.
In one day a man moved from vice minister of justice to prefect of a frontier town.
He reached Chaozhou in the third month.
What kind of place it was can be judged from what he did in his first weeks.
He asked about the people’s hardships. The answer came back: there are crocodiles in the river. They take cattle and horses. People cannot make a living.
He wrote a proclamation addressed to the crocodiles and threw it into the water, giving them a deadline to leave.
The story grew into a Chinese fable, and the fable is not what happened. What happened was probably two things at once. He organised men to hunt the animals, and he wrote a document so that the whole prefecture knew the government was dealing with it. The ritual was for the people. The work was for the crocodiles.
He also did something with no drama in it at all. He found a local scholar named Zhao De and put him in charge of a school.
One of those acts dealt with what was in the river. The other dealt with what was in people’s heads. Later generations built a shrine to him for both.
He stayed in Chaozhou seven or eight months.
In those months he met a monk.
The monk was called Dadian, a disciple of the Chan master Shitou Xiqian, and he lived on Ling Mountain outside the city.
Han Yu had him brought down to the prefectural seat and kept him there for about ten days.
Word of this travelled.
Whoever carried the story north picked out the interesting part. A man who had just been exiled for opposing the worship of a Buddhist relic had, on arrival at his place of exile, been spending time with a monk.
By the time it reached the north, it had become a report. Han Yu has turned Buddhist.
In the spring of the following year he was transferred to Yuanzhou. It was there that Meng Jian’s letter reached him.
Meng Jian asked, in effect: I hear you have taken up the Buddhist teaching. Is it true.
Han Yu wrote back at length.
He began by rejecting the premise.
Your letter says that some people are reporting that I have lately come to believe in Buddhism. Whoever is spreading that is talking nonsense.
Then he explained the monk. The passage is remarkably plain.
At Chaozhou there was an old monk called Dadian, he wrote. He was intelligent and he understood principles. In that remote place there was nobody to talk to, so I called him down from the mountain to the city and kept him about ten days. He is a man who can genuinely treat his own body lightly, who governs himself by reason and cannot be disturbed by things. When I talked with him I did not understand all of it, but there was no obstruction in his chest, and I thought that rare, so I kept up the acquaintance. Later, when I went to the sea to perform a sacrifice, I stopped at his hut. When I came away to Yuanzhou, I left him some clothes as a parting gift.
Then one line to close it:
This is ordinary human feeling. It is not believing in his doctrine, and it is not seeking merit or reward.
The letter could have ended there.
Han Yu kept writing, and what he wrote next was not about himself.
It was about the tradition he belonged to.
Since the Han dynasty, he wrote, the scholars have patched and patched at it, a hundred holes and a thousand wounds, lost with every fresh collapse, and its danger is like a single hair drawing a thousand jun. On and on it goes, fading, diminishing, almost gone.
And at exactly that moment, Buddhism and Daoism began to sing inside it, and drummed up the whole empire to follow.
Then: is this not utterly without kindness.
Then something harder still. The harm done by Buddhism and Daoism is greater than that done by Yang Zhu and Mozi. My worth is less than that of Mencius. Mencius could not save the tradition before it began to fail, and I, Han Yu, propose to preserve it after it has already broken. I have miscalculated my own strength, and I can see the danger I am in, and there is nobody who can save me from it.
And then the last sentence, which is the reason the letter is still read.
Even so, if the Way can be passed on, roughly, through me, then I will not regret it though I die ten thousand deaths.
He had been in exile eight thousand li from the capital for a year. He was writing to a Buddhist minister who had asked whether he had gone soft. And what he produced was not a defence of himself. It was an estimate of how long a thread could hold.
Han Yu was not the first man to use this image.
Eight centuries earlier, Mei Cheng wrote a letter to the king of Wu, trying to talk him out of rebellion. One line in it goes: to tie a weight of a thousand jun to a single thread, hang it from a height with no top, suspend it over water with no bottom, and even a great fool would grieve for the thread about to break.
Mei Cheng was talking about a political gamble. The rebellion was the weight, and the thread was the kingdom, and the break was a matter of time.
Han Yu took the image and moved it onto a body of learning.
Later the four characters were pulled out of the letter and turned into an idiom, and the idiom is used for danger. The Chinese proverb has long outlived the argument it was written for. That use is natural, because life is full of such moments. The few minutes in an operating theatre. The second before a signature. The single chance at a negotiating table.
But the original carries something the modern use drops.
Mei Cheng was talking about the strength of a thread. Han Yu was talking about the patience of a thread.
A hair holding thirty thousand jin is not a question of whether it breaks. It is a question of when. Han Yu could see that the cord had been holding for a very long time and that the fibres were coming apart. He did not know how many more years he could hold it. He did not know whether holding it would achieve anything.
All he had to do was not break during his own section.
The emperor later read the formal thanks Han Yu sent from Chaozhou and said: he really does love me.
He wanted to call him back. The chancellor, Huangfu Bo, blocked it, saying Han Yu was too arrogant to be near the throne. A compromise was found, and Han Yu was moved from Chaozhou to Yuanzhou.
At Yuanzhou he did two things.
He banned the shamans. In that region, when people fell ill they did not send for a doctor, they sent for a medium, and if the medium said the illness should not be treated, the family let the patient die. Han Yu drove the mediums out and had prescriptions posted in public.
He also bought people back. The custom of Yuanzhou was that a poor family could pledge a child to a rich household, and once the term ran out the child became property, a slave for life. He ordered a review, allowed the debt to be worked off, and freed seven hundred and thirty-one people in one action. Then he petitioned to have the rule made permanent: no more pledging free people as slaves.
The next year the emperor was murdered by his own palace eunuchs. His successor recalled Han Yu to the capital, made him chancellor of the Imperial College, and later promoted him to the ministries of war and of personnel.
In 822 a garrison mutinied at Zhenzhou. The court sent Han Yu to talk the rebels down, a mission from which men did not usually return. He walked into the rebel camp alone and came out with an agreement.
He died in 824, aged fifty-seven.
Most of what he did in his life had no good odds attached. He opposed the relic procession alone. He wrote the essay on teachers that made the whole court call him a madman. He walked into a rebel camp by himself.
And the four characters he left behind have been used ever since for accidents narrowly avoided and crises survived, and each use makes them a little lighter.
The heaviest they ever were was the first time they were written down.
What hung from that hair was not fifteen tonnes of iron. It was one man, eight thousand li from home, doing the arithmetic on how much longer a tradition could hold.