This is what Abu Huraira reported from Allah's messenger (ﷺ) and in this connection he reported so many hadith (and one of them was this): Allah's Messenger (ﷺ) said: Kisra would die and then there would be no Kisra after him. Qaisar would die and there would be no Qaisar after him, but you will distribute their treasures in the cause of Allah.
Sahih Muslim Book 54, Hadith 93