The Qur’ān definitely seems optimistic about the future, while rather grim about the past It is absolutely imperative for successor civilizations and their bearer communities to study well and learn from the fate of earlier ones that have perished; or they will assuredly meet with the same fate, for "God's law does not change" for any people. This is perhaps one of the most insistent ideas in the Qur’ān, which constantly exhorts people to "travel on the earth and see the end of those before them
Fazlur Rahman, Major Themes of the Qur'an
islam