we did not send any messengers for any reason other than to be obeyed because of the will of god. if they ever do injustice to themselves and come to you asking for gods forgiveness and if the messenger also was to ask god to forgive them they would certainly find god allforgiving and allmerciful.
وما أرسلنا من رسول إلا ليطاع بإذن الله ولو أنهم إذ ظلموا أنفسهم جاءوك فاستغفروا الله واستغفر لهم الرسول لوجدوا الله توابا رحيما