Is it mentioned in the Bible or Torah that God pledged to preserve them?

In the Quran Allah pleadged to preserve the Quran.. Now is it a coincidence that such a verse exists and the Quran IS preserved with the exact content?
If a mathematician reads my question I hope he can tell me what the probabilities are of this happenning..

And if you say that someone has changed the Quran despite Allah's pledge then you accuse Him of being helpless.. And if you say that this verse has been added by that person so obviously he has immense power that made him preserve the Quran.. I'll have to worship that guy!!