The phrase 曲突徙薪 (qu tu xi xin) means bend the chimney and move the firewood away. Change the flue so it turns a corner. Carry the stack of brush further from the stove.
It means remove the cause of the disaster before the disaster exists. English has the same advice in a homelier form: a stitch in time saves nine.
But the four characters are not really about fire. They are about who gets thanked afterwards.
The fire is put out. The householder kills an ox and lays out wine for everyone who helped. Everyone, that is, except the man who told him months earlier that his chimney was wrong.
The source is the Han History, in the life of Huo Guang. The story is told inside a memorial that nobody wanted to read.

Start with the family.
Huo Guang was the half-brother of Huo Qubing, the general who had ridden to the far west for Emperor Wu. When Wu was dying he handed the eight-year-old heir to Huo Guang and told him to hold the state together. For the next twenty years Huo Guang was, in practice, the government of China. When the young emperor died without an heir, Huo Guang put a prince on the throne and then took him off it again after twenty-seven days, and installed another man, who became Emperor Xuan.
A subject who deposes one emperor and appoints another does not need to raise his voice in court.
The family lived accordingly. The wife of Huo Guang built new mansions and kept a small army of servants. The sons and nephews held command and drew salaries. Even the family tombs were built on a scale that made people talk. The history sums it up in one word: extravagant.
In the Han, extravagance was not a matter of taste. It was a political signal. If you stand a head above everyone, everyone starts looking for something to cut you down with.
In Maoling, the town built to serve the tomb of Emperor Wu, there lived a man of letters whose name the history does not give at first. It calls him Master Xu. Only later, in passing, does it supply the name Xu Fu. He had no office.
He could see the end of the story. He said the plain thing: extravagance breeds insolence, insolence breeds contempt for the throne, contempt for the throne is treason. The Huo family had held power too long and had made too many enemies. When the whole world resents you and you are also walking the road of treason, what else can happen?
Then he sent a memorial.
Its argument was modest. The Huo family is too strong. Even if Your Majesty wishes to be generous with them, this is the moment to press them down a little, before they reach the point of destruction.
He sent it three times.
The history gives three characters: noted and filed.
Not rejected. Not punished. Not adopted. Noted.
This is the worst result available to a man who writes to a government. You write it three times, each time spending a little more of yourself, and the other side receives it, says thank you, and puts the paper in a cupboard.
About a decade later the Huo family fell.
Two years after Huo Guang died, the poisoning of Empress Xu came to light. The family, expecting to be destroyed, decided to strike first. The plot leaked. The clan was exterminated. In one season the most powerful household in the empire ceased to exist.
Then came the rewards.
The history says it in five characters: everyone who informed on the Huo family was enfeoffed.
Men who had seized the evidence were made marquises. Men who had chosen the right side at the right hour were made marquises. Some had simply passed along something they had heard. The list was long and the grants were generous.
Xu Fu was not on the list.
He had written three times, in ink, earlier than any of them. But his memorials were sitting in a file, and nobody had pulled them out as evidence, because he had not informed on anybody. He had said: this family is going to break, hold it down.
Afterwards that was obviously correct. At the time it was rude. At the moment of handing out honours, it was worth nothing at all.
So somebody wrote on his behalf.
The history does not name him. It says only that a man sent a memorial for Master Xu. What he sent was a story.
A traveller passed a house and saw that the stove had a straight flue, and that a stack of firewood was piled beside it. The traveller said: turn the flue so it bends, and move the wood further off. Otherwise you will have a fire.
The householder said nothing.
Before long the house caught fire. The neighbours came running and beat it out.
The householder killed an ox and laid out wine to thank them. The men with scorched hair and blistered faces were seated in the place of honour. The rest sat in order of how hard they had worked. The man who had spoken about the chimney was not invited.
Somebody at the table could not let it pass. If you had listened to him, he said, you would not have killed the ox or opened the wine. There would have been no fire. And now that you are handing out seats by merit, the man who told you to bend the flue gets nothing, and the men with burnt eyebrows sit at the top?
The householder understood, and sent for him.
Then the memorial turned the story around and pointed it at the throne.
Xu Fu of Maoling sent several memorials saying the Huo family was about to change, and that it should be prevented. If his advice had been taken then, the state would not have had to spend land and titles, and your ministers would not have had to live through a rebellion and a massacre. The danger is past. Xu Fu alone has received no credit. Look into it, and put the man who moved the firewood ahead of the men with scorched hair.
Emperor Xuan read it.
He granted Xu Fu ten bolts of silk.
Later he gave him a post as a gentleman attendant at court.
Ten bolts of silk was not nothing. A bolt was forty feet of cloth, so ten bolts was four hundred feet, enough for a family wardrobe for a year or two. A gentleman attendant was a real appointment, six hundred bushels of grain a year at the top grade, and a recognised way into the bureaucracy.
Set it beside the list of new marquises and you see how light it was.
The men who informed received towns of a thousand households, and their sons inherited them. Xu Fu received cloth and a job title.
This was not meanness on the part of the emperor. It was the price that power puts on being right early.
Why is the price so low?
Because being right early cannot be counted.
Before the fire, a man who says there will be a fire cannot prove it. After the fire, the man who says I told you so is the least welcome person in the room, because what he proves is not his own foresight. What he proves is that everyone else was blind.
The men who fought the fire are different. They have burns on their faces and blisters on their hands. Credit needs a shape before it can be divided up.
The phrase for those men also comes out of this passage: jiao tou lan e, burnt hair and scalded foreheads. It began as a description of the fire-fighters and ended up as an idiom for people frantically patching a disaster after it has happened.
Put the two phrases side by side. One rewards the man who prevented the work. The other rewards the man who cleaned up after it. The seating plan at that dinner party has not changed in two thousand years.
Xu Fu became a gentleman attendant. The history does not mention him again.
His memorial went up three times and came back three times with the same three characters. If one person had asked whether he might be right, the Huo family might not have ended in a massacre, and the list of new marquises might never have been drawn up.
What he got was ten bolts of cloth.
The strange footnote is that the man who recorded all this, Ban Gu, came from a family that was nearly wiped out by court politics, and he himself died in prison. He wrote the episode without a single comment of his own. He lets the householder understand, and send for the man.
He understood. He sent for him. The fire had already been through the house.
That is the pattern a Chinese idiom preserves better than an argument can. A Chinese fable shows you the dinner party. A Chinese proverb hands you the four characters and lets you recognise your own table.
Most of us have been the man with the chimney, and most of us have also been the householder, pouring wine for the neighbours and forgetting the one who spoke first.