There are many who fail to understand the true nature of repentance. Multitudes sorrow that they have sinned and even make an outward reformation because they fear that their wrongdoing will bring suffering upon themselves. But this is not repentance in the Bible sense. They lament the suffering rather than the sin. Such was the grief of Esau when he saw that the birthright was lost to him forever. Balaam, terrified by the angel standing in his pathway with drawn sword, acknowledged his guilt lest he should lose his life; but there was no genuine repentance for sin, no conversion of purpose, no abhorrence of evil. Judas Iscariot, after betraying his Lord, exclaimed, "I have sinned in that I have betrayed the innocent blood." Matthew 27:4.
Go on to Lamenting sin only because of its punishment is not repentance...
White, Ellen Gould: Steps to Christ. Pacific Press Publishing Association, 1892; SC 23.3