(Jones, p.87) Genesis is written by the Apostles and disciples inspired by the divinity of the Holy Spirit. (reformed.org) The Bible has infallibility the incapability of being wrong. (reformed.org) This is because the Bible is the word of God in written form, revealed by the Holy Spirit. Therefore the Epic of Gilgamesh cannot influence the Bible. God makes a covenant with Noah in Genesis, (6:18) "But I will establish my covenant with you, and you will enter the ark—you and your sons and your wife and your sons’ wives with you." (biblegateway.com) This proves that God's covenant with Noah was real and the account happened exactly how it was