The actual verse of the Torah reads in full אתה הראתה לדעת כי השם הוא האלהים אין עוד מלבדו which says "There are no other gods besides God."
If you read the last three words out of context you come out with a false interpretation of the verse.
There is no implication here about pantheism.
Pantheism mainly comes from the Upanishads. Spinoza also. And as I wrote else where if this point had been proved, I would not make a big deal about it. But the Upanishads just state it, and Spinoza does not prove it. Spinoza can only get to it by making a premise that is highly doubtful in itself.
This is unlike the way things are done in, for example, Mathematics. In Math, you start with premises which are almost so trivial that there does not seem any reason to state them. For example: the shortest distance between two points is straight line. You don't start out with premises that are highly doubtful, and then go on to prove even more doubtful conclusions.
Besides this, no one held from pantheism. Not Saadia Gaon, the Rambam, Ibn Gavirol, Crescas, Joseph Albo, the Ari, the Ramban (emphasis on last syllable). Abravenal [Not Abarbenal]. Certainly not the Torah Oral or Written.