He gives repentance which causes the person/s to repent 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 word repent here is the greek word
metanoia
- a change of mind, as it appears to one who repents, of a purpose he has formed or of something he has done
to give one the ability to repent, or to cause him to repent, Acts 5:31; Acts 11:18;
This is no novel doctrine, Jer 31:19
Surely after that I was turned, I repented; and after that I was instructed, I smote upon my thigh: I was ashamed, yea, even confounded, because I did bear the reproach of my youth.
So I'm going to assume that you believe God changes your mind for you since I didn't receive a direct answer to the question.
Let me say this about that. It is vitally important that we understand the biblical concept of repentance. It is central, not only to the New Testament, but to all of Scripture. The gospel of Mark begins with the appearance of John the Baptist, who comes out of the wilderness announcing the approach of the kingdom of God.
His message to the people of Israel was very simple: he called them to repentance. He didn't say God is going to cause you to repent. He told them they needed to repent.
Just a short time after this, Jesus began His public ministry, preaching the exact same message: “Now after John was arrested, Jesus came into Galilee, proclaiming the gospel of God, and saying, "The time is fulfilled, and the kingdom of God is at hand;
repent and believe in the gospel ” Mark 1:14–15
So the bible clearly shows us that it's something that we need to do. God didn't create robots. We don't have a button that God pushes and changes our Behavior.
Generally speaking, metanoia has to do with the changing of one’s mind with respect to one’s behavior.
In its simplest form, the term metanoia has to do with “the mind afterward,” or, as we might say, “an afterthought.” In the Greek language, it came to mean “a significant changing of one’s mind.”
So, in the most rudimentary sense, the concept of repentance in the Bible means “to change one’s mind.”
We repent, God does not cause us or make us repent. It's something we do willingly.