And I did not create the jinn and mankind except that they may worship Me the fact that disbelievers do not worship God does not contradict this statement since a purpose does not have to be realised in an act for it to be valid as when you may say ‘I sharpened this pencil in order to write with it’ even though you might not actually write with it.