Grace is a contract that Jesus Christ has with every believer who puts their trust in Him. That contract is one way and is not binding upon the believer. The believer can only be the recipient of the benefits of that contract through the humility of faith. Nothing the believer does will or can terminate that contract because it is binding upon our Lord and His promises. The believer can rebel through pride and forfeit the experience of those benefits of grace, but the contract remains in effect for them through humility and faith.
Jesus laid out a condition right here...
Joh 15:10 If ye keep my commandments, ye shall abide in my love; even as I have kept my Father's commandments, and abide in his love.
Which implies that if you don't do what He said then you will not abide in the love of the Father.
John taught exactly the same thing...
1Jn 2:3 And hereby we do know that we know him, if we keep his commandments.
1Jn 2:4 He that saith, I know him, and keepeth not his commandments, is a liar, and the truth is not in him.
1Jn 2:5 But whoso keepeth his word, in him verily is the love of God perfected: hereby know we that we are in him.
Those who claim to know Him but do not do what He said are liars.
Are you a liar? Or do you obey what He told you to do? It is one or the other.
Look what Peter wrote...
2Pe 1:10 Wherefore the rather, brethren, give diligence to make your calling and election sure: for if ye do these things, ye shall never fall:
2Pe 1:11 For so an entrance shall be ministered unto you abundantly into the everlasting kingdom of our Lord and Saviour Jesus Christ.
Peter was speaking of adding diligently to your faith (2Pet 1:5-7). He laid our the condition with an IF statement.
There are lots of IF statements in the Bible.
It is the doers of the word that will be saved unto the kingdom.
Heb 5:9 And being made perfect, he became the author of eternal salvation unto all them that obey him;
The disobedient will perish.
Rom 2:8 But unto them that are contentious, and do not obey the truth, but obey unrighteousness, indignation and wrath,
Rom 2:9 Tribulation and anguish, upon every soul of man that doeth evil, of the Jew first, and also of the Gentile;
One of my favourite chapters in the Bible is Psalm 91.
Psa 91:1 He that dwelleth in the secret place of the most High shall abide under the shadow of the Almighty.
Psa 91:2 I will say of the LORD, He is my refuge and my fortress: my God; in him will I trust.
Psa 91:3 Surely he shall deliver thee from the snare of the fowler, and from the noisome pestilence.
Psa 91:4 He shall cover thee with his feathers, and under his wings shalt thou trust: his truth shall be thy shield and buckler.
Psa 91:5 Thou shalt not be afraid for the terror by night; nor for the arrow that flieth by day;
Psa 91:6 Nor for the pestilence that walketh in darkness; nor for the destruction that wasteth at noonday.
Psa 91:7 A thousand shall fall at thy side, and ten thousand at thy right hand; but it shall not come nigh thee.
Psa 91:8 Only with thine eyes shalt thou behold and see the reward of the wicked.
Psa 91:9 Because thou hast made the LORD, which is my refuge, even the most High, thy habitation;
Psa 91:10 There shall no evil befall thee, neither shall any plague come nigh thy dwelling.
Psa 91:11 For he shall give his angels charge over thee, to keep thee in all thy ways.
Psa 91:12 They shall bear thee up in their hands, lest thou dash thy foot against a stone.
Psa 91:13 Thou shalt tread upon the lion and adder: the young lion and the dragon shalt thou trample under feet.
Psa 91:14 Because he hath set his love upon me, therefore will I deliver him: I will set him on high, because he hath known my name.
Psa 91:15 He shall call upon me, and I will answer him: I will be with him in trouble; I will deliver him, and honour him.
Psa 91:16 With long life will I satisfy him, and shew him my salvation.
Yet those promises only apply if you dwell in the secret place by walking in the light as He is in the light.
Do that an live. Do that and live abundantly.