The Khan and the Poor Traveler

Once upon a time, a poor traveler wandered for a long time across the steppe. He traversed desolate expanses and finally reached the glorious city of Bukhara.
The traveler was very tired and hungry.
Entering the city, he headed straight for the magnificent khan's palace.
Ignoring the guards, the stranger entered, took off his traveling clothes, made himself comfortable, and took his modest provisions from his khurjun.
The guards were so taken aback by his lack of ceremony that they didn't immediately know what to do.
"Hey, old man!" they shouted. "How dare you enter here without permission? Get out at once!"
The traveler calmly replied:
"Don't chase me away. I'll eat a little, rest, and then leave on my own."
"Do you even know where you are?"
"I know I'm under cover," the traveler replied calmly. "That's all I need after the journey. Give me a couple of hours to rest."
The guards, unsure how to respond, went to the khan.
Hearing of the uninvited guest, the ruler became enraged.
He personally came to the traveler and exclaimed menacingly:
"Hey, you ill-mannered pauper! My palace is not an inn! How dare you behave here as if you were at home?"
The traveler slowly raised his head.
"So this palace belongs to you, Great Khan?"
"Of course!" the ruler replied.
"And who lived here before you?"
"My father."
"And before your father?"
"My grandfather."
"And who lived here before him?"
"My great-grandfather," the khan began to lose patience.
"Very well," the traveler nodded. "And who will live in this palace after you?"
"My son!"
"And after your son?" "My grandson! If it be the will of the Almighty, the palace will remain for my descendants."
The traveler smiled.
"You see, lord, one man comes to this palace, lives for a while, and then gives way to another. Then comes another. Isn't that how it happens at an inn?"
The khan paused.
The traveler continued:
"If no one stays here forever, then you, your ancestors, and your descendants are merely guests. And this palace is not the eternal possession of one person, but a temporary refuge."
The ruler was silent for a long time.
He was accustomed to considering his palace a symbol of might and power. But the words of a simple traveler forced him to see everyday things differently.
Finally, the khan ordered his servants:
"Feed this man and reward him with worthy gifts!"
The traveler ate, rested, but declined the expensive gifts.
"Thank you, lord. But why do I need riches?" I'm a traveler, and my possessions will become an unnecessary burden on the road. After all, we're only here in this world for a short time. No one can take gold or palaces with them.
He picked up his khurjun and added:
"Every man gets his share. The main thing is to live the time allotted to him with dignity."
The khan liked these words.
He respectfully bid the unusual guest farewell and long afterwards recalled the simple poor man's wisdom.