I am sure glad that God looks at us from a different point of view than everyone else does, including ourselves. Sometimes it's not others that cause us be discouraged, it's ourselves. The enemy whispers in our ear that we are not good enough, and we believe it. Why is it so easy for us to believe a lie from the enemy, and so hard for us to believe the truth from God?
God did not say to Moses, because you killed that Egyptian, you will never do anything for me. God did not say to David, because you slept with Bathsheba and had Uriah killed, I will never speak to you again. When the disciples left Jesus, God did not say to them, you might as well go home because you will do nothing else for me. That's not how God is. He loves us!
Psalms 103:12 says that He will cast our transgressions as far the East is from the West. That's pretty nice, but 1 John 1:9 goes even further. 1 John 1:9 says if we confess our sins, he is faithful and just and will forgive us our sins and purify us from all unrighteousness.
Take a moment to ask for God's forgiveness, accept it, and then allow Him to cleanse you from all unrighteousness!