O Timothy, keep that which is committed to thy trust, avoiding profane and vain babblings, and oppositions of science falsely so called: / Which some professing have erred concerning the faith.The Greek word here used for science is gnosis (also translated knowledge, but cognate with Latin scientia whereas Greek episteme properly translates as art).
1 Timothy 6:20-21
Regardless of that Latin cognate, Paul wrote in Greek, and his word "gnosis" had nothing to do with science, but rather with "secret knowledge" such as was preached by, well, Gnostics.
So any claim that the Bible preaches against "science" is just itself false.