God has positive and negative promises. The negative are for the rebellious sinners who refuse to bend a knee to Jesus as Lord. The positive go to the “righteous” (upright NASB) (3477).
Who are these people? This word is incredibly frequent in Proverbs. It means to be straight or right. It’s root adds the idea of being smooth. “Righteous” would be a synonym, as you see in the KJV. It would be good to see both translations here.
(Proverbs 2:7 NAS77) He stores up sound wisdom for the upright; He is a shield to those who walk in integrity,These are the people who, through the grace of God and personal choice, live lives that are in accord with the will of God.
The promises of God are conditional. They depend on how we respond to Him.
So? Choices have consequences. Make yours and live with it. Or die with it. Your choice.