We raised among every people a messenger who enjoined , " Worship God alone and shun the evil one . " Then among them were some whom God guided and among them were others who became deserving of ruin .