The confession was forced from his guilty soul by an awful sense of condemnation and a fearful looking for of judgment. The consequences that were to result to him filled him with terror, but there was no deep, heartbreaking grief in his soul, that he had betrayed the spotless Son of God and denied the Holy One of Israel. Pharaoh, when suffering under the judgments of God, acknowledged his sin in order to escape further punishment, but returned to his defiance of Heaven as soon as the plagues were stayed. These all lamented the results of sin, but did not sorrow for the sin itself.
Go on to Repentance involves a longing for cleansing...
White, Ellen Gould: Steps to Christ. Pacific Press Publishing Association, 1892; SC 24.1