what does the bible say?
A true Christian believes in key core doctrines, such as belief in God as defined in Scripture, in Jesus as fully God and fully human, and in His virgin birth. These are called “core” doctrines because denying them undermines Jesus’ work as the sinless God-man who lived perfectly and died in the place of sinners. In short, salvation is based on acknowledging God as holy (Isaiah 6:3; Habakkuk 1:13; Psalm 5:4–5; 1 Peter 1:16), our sinfulness (Genesis 6:5; 9:21; Psalm 14:1-4, 51:5; Romans 3:23), and Jesus as the only way to escape God’s wrath against sinners (John 14:6; 1 Thessalonians 1:10).
The age of the Earth isn't among these core doctrines because it does not directly undermine them. That said, not believing in a literal creation can be problematic indirectly if it leads to denying a historical Adam (contra Genesis 2; Matthew 19:4–5) or the entrance of death through sin (contra Genesis 2:17; 3:17–19; Romans 5:12). Taking that stance may reveal a tendency to elevate modern science over Scripture’s authority.