This looks like a relevant story about Solon the Athenian, one of the sages of ancient Greece:
King Croesus of Sardis, who was at this time the richest man in the world, invited Solon to come and visit him at his palace. Solon arrived, and upon entering the palace he saw a man magnificently dressed and accompanied by a retinue of slaves and soldiers, so he assumed that this man must be Croesus. But he turned out to be only a minor official in Croesus' court. As Solon proceeded through the palace, he saw several other officials just as grand. Finally Solon was admitted to the king's chamber for the interview, and there was Croesus dressed in his most splendid clothes and jewelry.
Solon was not dazzled by this display of barbaric magnificence, which had awed so many others. So King Croesus commanded that his treasure houses be opened so that Solon could see how many beautiful clothes he had, and how much gold. Solon politely looked at everything, then came back to the king. "Well, Solon," said Croesus, "have you ever seen a man who was more fortunate than Croesus?"
Solon replied: "Yes, I have, and that was Tellus, a citizen of Athens. He was an honest man who left his children well provided for and with good will in the city. He lived to see grandchildren by his sons. Then he died gloriously, fighting for his country."
This frank answer enraged Croesus, but Solon pacified him by adding: "Oh mighty king of the Lydians, the gods have given us Greeks only small things, and our wisdom is only of small things and not the business of men as important as you. We consider how a man's life is so much subject to chance, and how disaster can come to us completely by surprise, so we don't consider any man to be successful until he has died well, with his good fortune intact to the end. Otherwise, if we should say that a living man is a success, when there is so much that can still happen to him, we would be like soldiers celebrating victory before the battle is over
." After that speech, Solon made his exit and saved his life.