Like many of the proverbs in the biblical wisdom literature, the following insight from Augustine is good as a general principle but unhelpful as an absolute rule:
One does not read in the Gospel that the Lord said: ‘I will send you the Paraclete who will teach you about the course of the sun and moon.’ For He willed to make them Christians, not mathematicians.
Augustine, De actis contra Felicem Manichaeum I,X
The quotation becomes unhelpful when it is taken (going beyond what Augustine says) to mean that there is nothing common to being a Christian and being a mathematician, or that the Holy Spirit, speaking through the scriptures, has nothing to say about being a good mathematician, or that because the bible is not a scientific treatise (in the modern sense of the words “science” and “treatise”–and “modern” for that matter) then we should assume a priori that it has nothing whatsoever to contribute to any scientific discussion.
The express purpose of the bible is not to make us into mathematicians (2 Timothy 3:16), but if we are mathematicians then the bible contains everything we need in order to be good, godly and wise mathematicians (2 Peter 1:3).