The Messenger of Allah (ﷺ) say: “Whoever is focused only on this world, Allah will confound his affairs and make him fear poverty constantly, and he will not get anything of this world except that which has been decreed for him. Whoever is focused on the Hereafter, Allah will settle his affairs for him and make him feel content with his lot, and his provision and worldly gains will undoubtedly come to him.”
قال صلى الله عليه و سلم: مَنْ كَانَتِ الدُّنْيَا هَمَّهُ فَرَّقَ اللَّهُ عَلَيْهِ أَمْرَهُ وَجَعَلَ فَقْرَهُ بَيْنَ عَيْنَيْهِ وَلَمْ يَأْتِهِ مِنَ الدُّنْيَا إِلاَّ مَا كُتِبَ لَهُ وَمَنْ كَانَتِ الآخِرَةُ نِيَّتَهُ جَمَعَ اللَّهُ لَهُ أَمْرَهُ وَجَعَلَ غِنَاهُ فِي قَلْبِهِ وَأَتَتْهُ الدُّنْيَا وَهِيَ رَاغِمَةٌ
Try your best to set your intention in everything you do mainly for your Akhirah first ( hereafter), then for your Dunya (life) and watch the Dunya come to you! SubhanAllah