Genesis holds a bucketfull of contradictions. Differing creation stories that merely correspond, yet don't exactly match. As for the old, "a dying you shall die" - well it's juxtaposed against "and all the days that Adam lived were nine-hundred and thirty years, and he died."
I did all this research once, >snicker< and came to the conclusion that God is heavy into Quantum events,......... ...that gives Him license to select as many outcomes as He likes --- and all of them turn out to be right!
Keep in Mind, I actually am a Physicist