Al Mujahadah: The Struggle Against The Soul
From An Nawawi's Riyadus-Saliheen
Muhammad ibn Salih Uthaimeen; Abu Abdul Alim Rasheed Salahuddin (translator)
The words, "strive for whatever benefits you," are general and comprehensive words. That is to say, make every effort to acquire all that is good, whether it's for your deen or your dunya." However, if a religious benefit and a worldly benefit conflict with one another, the religious advantage takes precedence."