Here’s what the Bible says about the ability to obey God’s commandments:
Deuteronomy 30:10 If thou shalt hearken unto the voice of the LORD thy God, to keep his commandments and his statutes which are written in this book of the law, and if thou turn unto the LORD thy God with all thine heart, and with all thy soul.
11 For this commandment which I command thee this day, it is not hidden from thee, neither is it far off.
12 It is not in heaven, that thou shouldest say, Who shall go up for us to heaven, and bring it unto us, that we may hear it, and do it?
13 Neither is it beyond the sea, that thou shouldest say, Who shall go over the sea for us, and bring it unto us, that we may hear it, and do it?
14 But the word is very nigh unto thee, in thy mouth, and in thy heart, that thou mayest do it.
I very recently finished rereading Deuteronomy, the verses you quoted are beautiful, among my favorites.
Another was from Joshua, when his death was imminent. He was exhorting people to choose God and not choose to worship the idols of the land they had recently defeated and he said, “As for me and my house, we will serve the Lord”.