God created us with free will so that we can choose or refuse to obey him. God will not over-ride our freedom of choice.
Israel is set forward as an example; they are presented with a choice:
Deuteronomy 10:12 And now, Israel, what doth the LORD thy God require of thee, but to fear the LORD thy God, to walk in all his ways, and to love him, and to serve the LORD thy God with all thy heart and with all thy soul,
Deuteronomy 11:26-28 Behold, I set before you this day a blessing and a curse; 27 A blessing, if ye obey the commandments of the LORD your God, which I command you this day: 28 And a curse, if ye will not obey the commandments of the LORD your God, but turn aside out of the way which I command you this day, to go after other gods, which ye have not known.
Deuteronomy 30:19 I call heaven and earth to record this day against you, that I have set before you life and death, blessing and cursing: therefore choose life, that both thou and thy seed may live:
Jeremiah 7:23 But this thing commanded I them, saying, Obey my voice, and I will be your God, and ye shall be my people: and walk ye in all the ways that I have commanded you, that it may be well unto you.
Ezekiel 33:11 Say unto them, As I live, saith the Lord GOD, I have no pleasure in the death of the wicked; but that the wicked turn from his way and live: turn ye, turn ye from your evil ways; for why will ye die, O house of Israel?
The choice is ours
Micah 6:8 He hath shewed thee, O man, what is good; and what doth the LORD require of thee, but to do justly, and to love mercy, and to walk humbly with thy God?
Christ sacrificed his life for the remission of sins of those who will choose to obey him.
John 15:13 Greater love hath no man than this, that a man lay down his life for his friends. 14 Ye are my friends, if ye do whatsoever I command you.
Hebrews 5:9 And being made perfect, he became the author of eternal salvation unto all them that obey him;
The Bible contains examples of those who chose to obey and those who chose to disobey. It is written for our admonition
1 Corinthians 10:11 Now all these things happened unto them for ensamples: and they are written for our admonition, upon whom the ends of the world are come.
The word of God is written in such a way that if we believe it and read it regularly, it can change the way that we think.
1 Peter 1:23 Being born again, not of corruptible seed, but of incorruptible, by the word of God, which liveth and abideth for ever.
God has chosen to save people by the ‘foolishness of preaching’.
1 Corinthians 1:21 For after that in the wisdom of God the world by wisdom knew not God, it pleased God by the foolishness of preaching to save them that believe.
But it is up to us to choose to respond in the way Jesus instructs us.
Mark 1:14-15 …Jesus came into Galilee, preaching the gospel of the kingdom of God, 15 And saying, The time is fulfilled, and the kingdom of God is at hand: repent ye, and believe the gospel.
At Pentecost, when the Jews asked what they must do, Peter said:
Acts 2:38 …Repent, and be baptized every one of you in the name of Jesus Christ for the remission of sins…
If we want salvation we must choose to believe, repent, be baptised, and lead a new life by the commandments of Jesus Christ.
Romans 6:4 Therefore we are buried with him by baptism into death: that like as Christ was raised up from the dead by the glory of the Father, even so we also should walk in newness of life.
We must allow our minds to be changed by the word of God.
Romans 12:2 And be not conformed to this world: but be ye transformed by the renewing of your mind, that ye may prove what is that good, and acceptable, and perfect, will of God.
2 Timothy 3:15-17 And that from a child thou hast known the holy scriptures, which are able to make thee wise unto salvation through faith which is in Christ Jesus. 16 All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness: 17 That the man of God may be perfect, throughly furnished unto all good works.
God, having caused the scriptures to be written, leaves the choice of belief and obedience to us.
I hope you find this helpful.