however , spinoza believed that descartess theory of two substances created an insoluble problem of the way in which mind and body interact , and so concluded that the ultimate substance is god and that god , substance , and nature are identical .