Yes, but God does not contradict Himself. If He says to not put your trust in vain philosophy, He doesn’t feed it to you later.
On the other hand, theology itself is a branch of philosophy held to be the "queen of metaphysics." Religious doctrines themselves are formulations of the philosophical kind.
But I do take your point that no philosophy, theology, or doctrine takes precedence over the Word of God.
That includes philosophy; for example, the history - philosophic roots - of the word concept Logos, a Name of God, Jesus Christ the Word [Logos] of God.
And it includes nations and history; for example, Alexander's conquering the civilized world caused the common Greek to be normalized, i.e. the Name of God would be understood when it came time to proclaim it.
Alexander was a student of Aristotle who was a student of Plato.