The carpenter already states the moral before the dream: the tree is good for nothing, "and hence it is that it has attained to so great an age." The dream does not tell him a new fact. It rebukes the standpoint from which he judged, a craftsman measuring a tree by the timber it would yield. The story is aimed less at the tree's survival than at the habit of judging any thing by its use to us.
The Tâo Teh King — Sacred Books of China Part I, SBE Vol. 39 (trans. James Legge, 1891)
No image is selected for this page; its own page image is shown.

6. A (master) craftsman called Shih, on his way to Khî, came to Khü-yüan¹, where he saw an oak tree that was used as the altar for the spirits of the land. It was so large that an ox standing behind it could not be seen. It measured a hundred spans round, and rose eighty cubits up the hill before it put out any branches, after which there were ten or so, from each of which a boat could be hollowed out. People came to see it in crowds as in a market place, but the craftsman did not look round at it, and went on his way without stopping.
One of his workmen, however, looked at it long and admiringly, and then ran after his master and said to him, ‘Since I followed you with my axe and bill, I have never seen such a beautiful mass of timber as this. Why would you, Sir, not look round at it, but went on without stopping?’ ‘Have done,’ said Mr. Shih, ‘and do not speak about it. It is quite useless. A boat made of its wood would sink; a coffin or shell would quickly rot; a piece of furniture would soon go to pieces; a door would be covered with the oozing sap; a pillar would be riddled by insects; its timber is good for nothing, and that is why it has reached so great an age².’
1 The name of a place; of a road; of a bend in the road; of a hill. All these accounts of the name are found in different editions of our author, which shows that the locality had not been identified.
2 No one has thought it worth felling.