This is a direct quotation. It can be stated as an indirect quotation: “said that it is impossible for people to save themselves, but nothing is impossible for God to do.” (See: [[rc://en/ta/man/translate/figs-quotations]])
This could also be translated as: “God is able to do anything, even save a rich person” or “God is able to do impossible things, so he can save even a rich person.”