When both of them were in the cave , he said to his companion : " Do not grieve , for God is with us . " Then God sent divine peace on him , and invisible armies for his help , and made the unbelievers ' purpose abject .