And assuredly We have raised in every community an apostle saying : worship Allah and avoid the devil . Then of them were some whom Allah guided , and of them were some upon whom the straying was justified .