The Catholic Church no longer teaches creationism — the belief that God created the world in six days as described in the Bible — and says that the account in the book of Genesis is an allegory for the way God created the world.
But it objects to using evolution to back an atheist philosophy that denies God’s existence or any divine role in creation. It also objects to using Genesis as a scientific text. read more here.