 He doesn't say the goodness of God is repentance. The goodness of God leads you to repentance. Similar to the statement made in 2 Corinthians 7, verse 10, for godly sorrow produces repentance leading to salvation, not to be regretted. For the sorrow of the world produces death. That's the New King James Version.