In William Gurnal's book titled "The Christian In Complete Armour" he is talking about King David and his optomistic spirit in spite of all his deficiencies.
"How did David get this holy greatness of spirit as displayed in this scripture -- 'As for me, thou upholdest me in mine integrity, and settest me before thy face for ever.'Ps. 41:12
It is as if he had said, 'Lord, You do not treat me the way my enemies do; if there were only one sinful sore in my life, they would light on it like flies. But you overlook my stumbling feet and pardon my sin. You see my uprightness and hold it up amidst all my many infirmities. You set me before Your face and communicate love and favor to me even when sin is mingled with my obedience.'
The word picture of flies lighting on a sore is so vivid; I remember seeing hundreds of flies swarming on a sore one of our horses had; and isn't it just the way we do when we see the flaws in others. But God overlooks our many infirmities and holds up the good we do though even that is flawed. He is a merciful God.
It reminds me of Matt. 23:23 and Luke 11:42 "you overlook justice, mercy or sometimes rendered compassion, faithfulness, and the love of God". When we worship God exercising these virtues of His spirit he is quick to overlook our weaknes in doing so. Thank God!
Photo from the Internet