It does say however He grants or gives belief. Same with repentance. Is He obligated to give either? Nope. So He gives it to whomever He chooses to.
The word grant does not mean to irresistibly impose.
And the fact that is God leaves up to man how he may respond to his efforts
Man may repent
Jeremiah 31:18-19
I have surely heard Ephraim’s moaning: ‘You disciplined me severely, like an untrained calf. Restore me, that I may return, for You are the LORD my God. / After I returned, I repented; and after I was instructed, I struck my thigh in grief. I was ashamed and humiliated because I bore the disgrace of my youth.’
Revelation 2:21–22 (LEB) — 21 And I have given her time in order to repent, and she did not want to repent from her sexual immorality. 22 Behold, I am throwing her into a sickbed and those who committed adultery with her into great affliction, unless they repent from her deeds.
Luke 11:32 (LEB) — 32 The people of Nineveh will stand up at the judgment with this generation and condemn it, because they repented at the proclamation of Jonah, and behold, something greater than Jonah is here!
Ezekiel 18:30–32 (LEB) — 30 “Therefore I will judge you, house of Israel, each one according to his ways,” declares the Lord Yahweh. “Repent and turn around from all of your transgression, and it will not be as a stumbling block of iniquity to you.
Draw near to God
James 4:8-10
Draw near to God, and He will draw near to you. Cleanse your hands, you sinners, and purify your hearts, you double-minded. / Grieve, mourn, and weep. Turn your laughter to mourning, and your joy to gloom. / Humble yourselves before the Lord, and He will exalt you.
return to the Lord
Isa 55:6–7Seek Yahweh while he lets himself be found; call him while he is near. Let
the wicked forsake his way, and
the man of sin his thoughts. And let him return to Yahweh, that he may take pity on him, and to our God, for he will forgive manifold.
Choose to serve God
Joshua 24:15–22 (LEB) — 15 But if it is bad in your eyes to serve Yahweh, choose for yourselves today whom you want to serve, whether it is the gods that your ancestors served beyond the river, or the gods of the Amorites in whose land you are living; but as for me and my household, we will serve Yahweh.”
16 And the people answered and said, “Far be it from us that we would forsake Yahweh to serve other gods,
17 for Yahweh our God brought us and our ancestors from the land of Egypt, from the house of slavery, and did these great signs before our eyes. He protected us along the entire way that we went, and among all the peoples through whose midst we passed.
18 And Yahweh drove out all the people before us, the Amorites who live in the land. We will serve Yahweh, for he is our God.”
19 But Joshua said to the people, “You cannot serve Yahweh, for he is a holy and jealous God; he will not forgive your transgressions or your sins.
20 If you forsake Yahweh and serve foreign gods, he will turn and bring disaster to you; he will destroy you after he has done good to you.”
21 And the people said to Joshua, “No, we will serve Yahweh.”
22 And Joshua said to the people, “You are witnesses against yourselves that you have chosen for yourselves to serve Yahweh.” And they said, “We are witnesses.”
Choose life
Deuteronomy 30:11–20 (LEB) — 11 “
For this commandment that I am commanding you today is not too wonderful for you, and it is not too far from you. 12 It is not in the heavens so that you might say, ‘Who will go up for us to the heavens and get it for us and cause us to hear it, so that we may do it?’ 13 And it is not beyond the sea, so that you might say, ‘Who will cross for us to the other side of the sea and take it for us and cause us to hear it, so that we may do it?’ 14
But the word is very near you, even in your mouth and in your heart, so that you may do it. 15 “
See, I am setting before you today life and prosperity and death and disaster; 16 what I am commanding you today is to love Yahweh your God by going in his ways and by keeping his commandments and his statutes and his regulations, and then you will live, and you will become numerous, and Yahweh your God will bless you in the land where you are going. 17 However, if your heart turns aside and you do not listen and you are lured away and you bow down to other gods and you serve them, 18 I declare to you today that you will certainly perish; you will not extend your time on the land that you are crossing the Jordan to go there to take possession of it. 19 I invoke as a witness against you today the heaven and the earth: life and death I have set before you, blessing and curse.
So choose life, so that you may live, you and your offspring, 20
by loving Yahweh your God by listening to his voice and by clinging to him, for he is your life and the length of your days in order for you to live on the land that Yahweh swore to your ancestors, to Abraham, to Isaac, and to Jacob, to give to them.”
Isaiah 55:3 (LEB) — 3 Extend your ear, and come to me! Listen so that your soul may live, and I will make an everlasting covenant with you, the enduring proofs of the mercies shown to David.
Never do we read of those irresistibly made to believe
John 3:16 For in this way God loved the world, so that he gave his one and only Son, in order that everyone who believes in him will not perish, but will have eternal life.
Rom 10:9–10 that if you confess with your mouth “Jesus is Lord” and believe in your heart that God raised him from the dead, you will be saved. For with the heart one believes, resulting in righteousness, and with the mouth one confesses, resulting in salvation.
Mark 9:2 4Immediately the father of the child cried out and said, “I believe! Help my unbelief!”
John 1:12 But as many as received him—to those who believe in his name—he gave to them authority to become children of God,
Acts 16:31 And they said, “Believe in the Lord Jesus and you will be saved, you and your household!”
and clearly imposed faith is contrary to what we read in scripture
Heb 11:6Now without faith it is impossible to please him, for the one who approaches God must believe that he exists and is a rewarder of those who seek him.
1 John 5:10–12(The one who believes in the Son of God has the testimony in himself. The one who does not believe God has made him a liar, because he has not believed in the testimony that God has testified concerning his Son.) And this is the testimony: that God has given us eternal life, and this life is in his Son. The one who has the Son has the life; the one who does not have the Son of God does not have the life.
1 Pet 2:7–8Therefore the honor is for you who believe, but for those who refuse to believe, “The stone that the builders rejected, this one has become the cornerstone,” and “A stone of stumbling and a rock of offense,” who stumble because they disobey the word to which also they were consigned.