ولي الدين بن خلدون فصلا في مقدمته قال الذي آخره: "إذا أذن الله سبحانه بانقراض الملك من أمة حملهم على ارتكاب المذمومات وانتحال الرذائل وسلوك طريقتها فتفقد منهم الفضائل ولا تزال في انتقاض إلى أن يخرج الملك من أيديهم وتبدل بسواهم ليكون نعيا عليهم في سلب ما قد أتاهم من الملك {وإذا أردنا أن نهلك قرية أمرنا مترفيها} الآية. ومن استقرأ ذلك وتتبعه في الأمم السابقة يعلم علم يقين ما ذكرناه والأمر كله لله".
Wali al-Din ibn Khaldun a section in his Muqaddima, at the end of which he said: “When God, Glorified, permits the extinction of sovereignty from a nation, He brings them to commit blameworthy acts, adopt vices and follow their path, so the virtues are lost among them, and they go on diminishing until sovereignty passes out of their hands and is exchanged for others, so that it may be a reproach to them in being stripped of the sovereignty He had given them: ‘And when We intend to destroy a town, We command its affluent ones’ — the verse. Whoever investigates this and traces it among past nations will know with certain knowledge what we have mentioned. And the whole matter belongs to God.”