The Genesis Creation story is allegory.
Nope. The NT writers referenced it. Jesus referenced it. All of Genesis is real history. You can chose not to believe it but it doesn’t alter the truth.