The Lord inspired writers of Scripture to record scientifically accurate information "before its time."  An example is in Job 28:25 which states the air has weight.