Yes. Repentance has its purpose in salvation because it does not mean turning from sin.
Jonah 3:10 God saw their w-o-r-k-s, that they turned from their evil ways.
not by w-o-r-k-s of righteousness which we have done, but according to his mercy he saved us, by the washing of regeneration, and...