.بسم الله الرحمن الرحيم
Wahab ibn Munnabih (d.114H) said:
إنما الدنيا والآخرة كرجل له امرأتان: إن أرضى إحداهما أسخط الأخرى
“The dunya and the akhirah is but like a man who has two wives: if you satisfy one of them, the other is infuriated.” 
And similar to a man with two wives, the remedy lies in balancing one’s time and effort in giving each one her due rights – and being responsible in guiding and nurturing towards fulfilment of each separate, yet equally important objective.
Islam as a complete and perfect Deen, combines the rights of Allah and the rights of people; impressing on matters of this world and of the Hereafter. It is a Deen of moderation that guides Muslim to set the right harmony between the two.
Allah ﷻ Said:
وَابْتَغِ فِيمَا آتَاكَ اللَّهُ الدَّارَ الْآخِرَةَ ۖ وَلَا تَنسَ نَصِيبَكَ مِنَ الدُّنْيَا
“But seek, through what Allah has given you, the home of the Hereafter; and (yet), do not forget your share of the world…” 
And the poet said, “Work for this life as much as you will remain herein, and work for the Hereafter as much as you will remain therein.” Allah ﷻ unequivocally Mentions the transience of the former:
كَأَنَّهُمْ يَوْمَ يَرَوْنَهَا لَمْ يَلْبَثُوا إِلَّا عَشِيَّةً أَوْ ضُحَاهَا
*”It will be, on the Day they see it, as though they had not remained (in dunya) except for an afternoon or a morning thereof.” 
We beseech Allah for cognisance of reality of this world and the Hereafter, and seeking the best in both. Ameen.
ربنا آتنا في الدنيا حسنة وفي الآخرة حسنة وقنا عذاب النار
 Jaami’ul Uloom wal-Hikam, 2/204
 Al-Qasas, 77
 An-Nazi’at, 46