God has always existed as a judge over his creation. But we need to understand how he judges, when he judges, and why he judges, having solutions to this questions helps us to understand the kind of judgment described in the Bible.
When God decided to punish Sodom and Gomorrah for their sins, Abraham recognized that God is the judge of menís actions, Genesis 18:20-25.
We should learn that God, passes judgment, He issues a verdict, and then carries out the sentences, but we can escape either of this steps, if we seek forgiveness.
But it is God who executes judgment putting down one and lifting up another.
Nebuchadnezzar came to understand this as he comments in the book of Daniel.
Now I, Nebuchadnezzar ,praise and extol and honor the king of heaven; for all his works are right and all his ways are just; and those who walk in pride he is able to abase.