In the words of Rabbi Natan Slifkin
God essentially created two conflicting accounts of Creation: one in nature, and one in the Bible. How can it be determined which is the real story, and which is the fake designed to mislead us? One could equally propose that it is nature which presents the real story, and that the Biblewas devised by God to test us with a fake history! One has to be able to rely on God’s truthfulness if religion is to function. Or, to put it another way—if God went to enormous lengths to convince us that the world is billions of years old, who are we to disagree?