Tafsir of 6:131 Ma'arif al-Qur'an
ذَٰلِكَ أَن لَّمْ يَكُن رَّبُّكَ مُهْلِكَ ٱلْقُرَىٰ بِظُلْمٍ وَأَهْلُهَا غَـٰفِلُونَ ﴿١٣١﴾
The third verse (131) tells us that sending prophets and messengers among human beings and the Jinn is based on the dictate of justice and mercy of Allah Ta` ala for He does not send punishment over a people unless they have been awakened through His blessed messengers and provided with the light of guidance.
Source: Ma'arif al-Qur'an — Mufti Muhammad Shafi. Licence: Maktaba-e-Darul-Uloom; confirm