The LORD rewarded me according to my righteousness; according to the cleanness of my hands hath he recompensed me. The Lord rewarded me - David proceeds to give the reasons why God had so marvellously interposed in his behalf.
According to my righteousness - Instead of being an enemy to Saul, I was his friend. I dealt righteously with him while he dealt unrighteously with me.