Balancing this life against the next
Said to a man whose wealth was so great his keys were a burden to carry.
وَٱبْتَغِ فِيمَآ ءَاتَىٰكَ ٱللَّهُ ٱلدَّارَ ٱلْـَٔاخِرَةَ ۖ وَلَا تَنسَ نَصِيبَكَ مِنَ ٱلدُّنْيَا ۖ وَأَحْسِن كَمَآ أَحْسَنَ ٱللَّهُ إِلَيْكَ ۖ وَلَا تَبْغِ ٱلْفَسَادَ فِى ٱلْأَرْضِ ۖ إِنَّ ٱللَّهَ لَا يُحِبُّ ٱلْمُفْسِدِينَ
Wa-btaghi fīmā ātāka-llāhu-d-dāra-l-ākhirata wa lā tansa naṣībaka mina-d-dunyā…
But seek, through that which Allāh has given you, the home of the Hereafter; and [yet], do not forget your share of the world. And do good as Allāh has done good to you. And desire not corruption in the land. Indeed, Allāh does not like corrupters."
It does not say give it all away. It says use it for the other place, and do not neglect your portion here.
Source
The Qur'an · 28:77
- Qur'anic text in the Uthmani script via Quran.com; translation: Saheeh International