Psalm 136:1 - Oh, give thanks to the LORD, for He is good! For His mercy endures forever.
There is no doubt that our God is good and His judgment right and just. We are all sinners and there's no getting away from that.
Only God can make us right. Only God. No works of man, so we cannot boast of "our goodness." We are to boast only in Christ. Through Him, only, we receive our goodness.
Hear what He has to say and how it can affect us:
The law of the LORD is PERFECT, converting the soul; the testimony of the LORD is SURE, making wise the simple; the statutes of the LORD are RIGHT, rejoicing the heart; the commandment of the LORD is PURE, enlightening the eyes; the fear of the LORD is CLEAN, enduring forever; the judgments of the LORD are TRUE and RIGHTEOUS altogether. More to be desired are they than gold, yea, than much fine gold; sweeter also than honey and the honeycomb. (Psalms 19:7-10)