The whole sentence is:
The error of modern atheism has been to overlook how many aspects of the faiths remain relevant even after their central tenets have been dismissed.
I did not understand the grammar structure of 'has been to overlook...'. Not sure if this is correct English. This sentence was excerpted from a native English author Alain de Botton's book. Could anyone explain this grammatical usage?