It would be more accurate to say that science corrects itself. At any given time there are ideas which appear to have been verified as much as possible, others which are near speculation, and others which are quite uncertain with evidence for and against.
What I think the parent means by contradicting science is rather different: the Bible says things which go against ideas which we believe have been verified by evidence, but the Bible won’t be changed to reflect that understanding. On the other hand, science will change its idea of what it thinks to be true as more evidence becomes available. Nobody changes things in the Bible.