God's support and protection

God sends His messengers to deliver His message. To ensure that they do, God provides them with the support and protection required to accomplish their mission.

O you messenger, deliver what was brought down to you from your Lord. If you do not, then you have not delivered His message. God will protect you from the people. God does not guide the disbelieving people. 5:67

If you do not support him (the messenger), God has already supported him. 9:40

When the disbelievers scheme to restrain you, or kill you, or banish you; they scheme and God schemes, and God is the Best of schemers. 8:30

It must be pointed out that the protection given to messengers is only against the disbelievers who try to harm them. The messengers are not protected against sin. Like all other humans they are fallible and able to commit all types of sin.