The Prophet ﷺ only wanted Allāh ﷺ. He ﷺ never wanted dunyā. His ﷺ life was full of hardship and poverty. Any wealth that came to him ﷺ, he ﷺ gave away by the next morning. He ﷺ didn't want dunyā even for his family. He left no inheritance other than his ﷺ example which he left for all humanity.