To every nation that has passed on, Allah sent a messenger who summoned them to His true path. Messengers are those who communicate the existence and oneness of Allah, spread His religion, and inform them about what Allah demands from them, in other words, things that they should do and things that they should abstain from. They also warn them against the punishment of Hell and give them the glad tidings of Paradise.
The lives and struggles of the messengers are abundant in lessons for believers who think and are inclined to learn from them. In the Qur'an, Allah describes in detail the subjects they communicated to their peoples, the methods they employed to persuade them and many other aspects of the messengers themselves. There is instruction in their stories for people of intelligence... (Surah Yusuf, 111)