Among the joy of gardening must be to see a dead plant revived to life again.
Especially after witnessing many wilt to the increasing heat, or lack of maintenance, or pesticides or whatever that Allah wills.
Your effort : Good soil, placing it where it will receive right amount of sun depending the type of plant, right amount of water, fertilisers.
Whether it will live or otherwise, is entirely up to Allah. Until when it will live is up to Allah.
Al Fussilat 41:39
And among His Signs (in this), that you see the earth barren, but when We send down water (rain) to it, it is stirred to life and growth (of vegetations). Verily, He Who gives it life, surely is Able to give life to the dead (on the Day of Resurrection). Indeed! He is Able to do all things. (39)
Ar Rum 30:50Look then at the effects (results) of Allâh’s Mercy, how He revives the earth after its death. Verily, that (Allâh) (Who revived the earth after its death) shall indeed raise the dead (on the Day of Resurrection), and He is Able to do all things. (50)Meanwhile, since we do not know Allah's scheme of things, we put our effort and tawakkal.
I suppose the joy of gardening is seeing the fruits of Allah's plan. Thus seeing life in His signs.