these messengers were sent as bearers of glad tidings and as warners so that after sending the messengers people may have no plea against allah. allah is allmighty allwise.
رسلا مبشرين ومنذرين لئلا يكون للناس على الله حجة بعد الرسل وكان الله عزيزا حكيما