If science adjusts its view based on observable evidence, that means the previous understanding was based in a false premise. But that false premise was able to guide us to a better understanding.
People forget that what atheists promote is that is very unlikely that a God like the one described in the bible or any other sacred writings from antiquity can be real.