The Bible is always consistent in its declarations of the moral perfection of God. Perhaps a helpful way to begin to understand God's nature in this regard is to consider the following verse of scripture:

(1 John 1:5) And this is the message we have heard from Him and announce to you, that God is light, and in Him there is no darkness at all.

Light and darkness are used in the Bible to contrast the difference between good and evil. Moral qualities and characteristics of all categories would be included in this vast spectrum. The concepts of light and darkness as they relate to good and evil in the Bible can be seen when considering the following scriptures:

(2 Corinthians 6:14) ".... for what partnership have righteousness and lawlessness, or what fellowship has light with darkness? "

(Ephesians 5:7-9) Therefore do not be partakers with them; {8} for you were formerly darkness, but now you are light in the Lord; walk as children of light {9} (for the fruit of the light consists in all goodness and righteousness and truth),

(Romans 13:12-13) The night is almost gone, and the day is at hand. Let us therefore lay aside the deeds of darkness and put on the armor of light. {13} Let us behave properly as in the day, not in carousing and drunkenness, not in sexual promiscuity and sensuality, not in strife and jealousy.

(Ephesians 5:11-12) And do not participate in the unfruitful deeds of darkness, but instead even expose them; {12} for it is disgraceful even to speak of the things which are done by them in secret.

(Ephesians 6:12) For our struggle is not against flesh and blood, but against the rulers, against the powers, against the world forces of this darkness, against the spiritual forces of wickedness in the heavenly places.

(1 John 2:9-10) The one who says he is in the light and yet hates his brother is in the darkness until now. {10} The one who loves his brother abides in the light and there is no cause for stumbling in him.

Light in these passages is described as being fruitful and is associated with righteousness, goodness, love, purity and truth along with behavior that is proper. On the other hand darkness is described as being unfruitful and is associated with wickedness, lawlessness, hate, sexual immorality and other destructive and disgraceful behaviors. When considering the perfection of God as it relates to the original passage the fact that we learn that God is light, and that there is no darkness at all in Him, confirms to us the absolute moral perfection of God in all these things.

Perhaps Moses and the Psalmist summed the situation up well when writing,

(Deuteronomy 32:3-4) "For I proclaim the name of the LORD; Ascribe greatness to our God! {4} "The Rock! His work is perfect, For all His ways are just; A God of faithfulness and without injustice, Righteous and upright is He.

(Psalms 5:4) For Thou art not a God who takes pleasure in wickedness; No evil dwells with Thee.