Spinoza on miracles

Though I disagree with most of what Spinoza says, I think he is close to truth when he writes

I have shown that scripture does not explain things by their secondary causes, but only narrates them in order and style which has most power to move men, and especially uneducated men, to devotion; and therefore it speaks inaccurately of god and of events, seeing that its object is not to convince the reason, but to attract and lay hold of the imagination.