You would know because the creation account was written, by Moses, inspired by God..................................................Because Moses said so, right?
Because it was. By your answer, I’ll take it you are not a believing Christian, and as such the Bible is probably just foolishness to you anyway.