This question already has an answer here:
In the Foundation universe there's a short story that's about a mandatory stay on what's purported to be the ancestral home of humanity, the planet "Earth", by a prince of the imperial family.
A month's stay is required if you want to be Emperor and the candidates are largely on their own. They're provided with a guide who is it's made clear is not their bodyguard, more in the way of a supplier of local knowledge so the Emperor-to-be doesn't try to pet a bobcat or wipe his butt with poison ivy.
The prince is, unsurprisingly, an arrogant little git who's dismissive of the backwards planet and all its rough-hewn inhabitants. I believe he doesn't last a full day picking a fight with a local who, not knowing he's dealing with a member of the imperial family and probably not caring even if he did know, puts an end to the prince.
The final scene in the short story is the guide telling the emperor of the death of his son.
What's the name of the darned story?