@TomL
The regenerated person, not the natural man. And when the command is given to the regenerated man it causes him to repent, it was a gift given by Christ Acts 5:31
31 Him hath God exalted with his right hand to be a Prince and
a Saviour, for to give repentance to Israel, and forgiveness of sins.
The regenerated man or woman is active in their conversion, which is Gods Gift
But the unregenerate man is dead in sin and adam under condemnation of the law, and frankly has no right to repent , he is under the curse o the law.