The world and all that it contains of adornments is hateful and dispraised in the sight of Allah, because it takes people away from the purpose of their creation; which is to worship Allah and establish His laws. The exception to such hate and dispraise is the remembrance of Allah and all what is relevant to it of acts of worship, as well as learning religious knowledge and teaching it to others, because this is the purpose of their creation.