Not just the Catholic church, but Christianity in general. It is very much standard Christian doctrine that everyone is flawed, nobody has earned salvation, and that it is a freely given gift from God out of love. To criticize Christianity as being mainly about "if you don't follow these rules you'll go to hell" (as chaostheory has) is to demonstrate a lack of understanding of Christianity.