this is the guidance of allah with which he guides whomsoever he wills of his servants. but if they had joined in worship others with allah all that they used to do would have been of no benefit to them.
ذلك هدى الله يهدي به من يشاء من عباده ولو أشركوا لحبط عنهم ما كانوا يعملون