Which came first, matter (the universe) or mind? John Lennox, Oxford mathematician, helpfully delineates these as the two fundamental worldviews.

For the atheist the ultimate reality is the universe, and for the theist the ultimate reality is God. Genesis tells us that God is primary, and the universe derivative. This worldview is the exact opposite of ancient polytheism and contemporary secularism, both of which assume that matter is primary and everything else, including mind, is derivative.

John Lennox, Seven Days That Divide the World: The Beginning According to Genesis and Science (p. 95)