Indeed Allah, Al-Warith is the Inheritor of His creations. When all will perish, only Allah, the Everlasting will remain. The desire to have offsprings and heirs to leave behind after this worldly transition is very much alive in all human, including the the Prophets. Hence, the example we can take from their practical lives. Prophet Zakariyyah earnestly wishes to leave an heir behind and he invoked Allah by His Beautiful name, Al-Warith.
“To Allah belongs the kingdom of the heavens and the earth. He creates what He wills. He bestows female (offspring) upon whom He wills, and bestows male (offspring) upon whom He wills. Or He bestows both males and females, and He renders barren whom He wills. Verily, He is the All-Knower and is Able to do all things.” (Ash-Shurah-Q42:49-50)