God rewards according to your righteousness
1 Samuel 26:22-24Â (New International Version)
 Â 22 “Here is the king’s spear,” David answered. “Let one of your young men come over and get it. 23 The LORD rewards every man for his righteousness and faithfulness. The LORD delivered you into my hands today, but I would not lay a hand on the LORD’s anointed. 24 As surely as I valued your life today, so may the LORD value my life and deliver me from all trouble.”
2 Samuel 22:21-26Â (New International Version)
Â
 21 “The LORD has dealt with me according to my righteousness;
      according to the cleanness of my hands he has rewarded me. 22 For I have kept the ways of the LORD;
      I have not done evil by turning from my God. 23 All his laws are before me;
      I have not turned away from his decrees. 24 I have been blameless before him
      and have kept myself from sin. 25 The LORD has rewarded me according to my righteousness,
      according to my cleanness [a] in his sight. 26 “To the faithful you show yourself faithful,
      to the blameless you show yourself blameless,
In 1st and 2nd Samual, David proclaims the following:
-
God rewards every man for his righteousness
- God rewarded David according to his righteousness
This shows that our relationship with God is reciprocal.Â
Believe God and obey Him, and He will reward you according to it.