"Lo! Indeed the world is cursed. What is in it is cursed, except for remembrance of Allah, what is conducive to that, the knowledgeable person and the learning person." (Using translation from Tirmidhī 2322)
("إِنَّ الدنيا ملعونة ملعونٌ ما فيها إِلا ذكر الله وما والاه، وعالما أو متعلما".