God does what is right. He never does what is wrong. God always acts in a righteous manner because His nature is holy. Thus, we can distinguish between the internal righteousness of God (His holy nature) and the external righteousness of God (His actions).
Two virtues assigned to God, greatness and goodness, may be captured by one biblical word, holy. When we speak of God’s holiness, we are accustomed to associating it almost exclusively with the purity and righteousness of God. Surely the idea of holiness contains these virtues, but they are not the primary meaning of holiness.
The biblical word holy has two distinct meanings. The primary meaning is “apartness” or “otherness.” When we say that God is holy, we call attention to the profound difference between Him and all creatures. It refers to God’s transcendent majesty, His august superiority, by virtue of which He is worthy of our honor, reverence, adoration, and worship. He is “other” or different from us in His glory.