In the preceding verse, an exception of making friends with those who share not our faith, was made; that on the basis of precaution and self - defence, the assistance and friendship of an infidel might be accepted by a Muslim. Here in this verse, (NO. 29) in order to warn people against misusing and misapplying the exception, it is said: ``Whether you hide or reveal the contents of your hearts and minds, it makes no difference for God, Who knows them all - not only all that is hidden in your hearts, but all that is in the heavens and in the earth, God knows them.''