After being appointed to prophethood, messengers of God are given various tasks and missions, one of which is preventing people from vices and evils.