Why must Genesis be literal?

If you won’t believe that Genesis is the literal truth then you won’t believe in penal substitutionary atonement.