"Hallelujah! Salvation and glory and power belong to our God, for true and just are his judgments."
God's righteousness is at the very core of God's being. You simply cannot divorce God's righteous character from God else you leave yourself with a God who is more than worthless to serve. If God was not just and true in his judgments, then there is no salvation for God is powerless to act. If God were not just and true in his judgments, then he has no glory but is instead a liar and untrustworthy. There is nothing which can stop an unjust God from taking back the salvation he has promised, but Hallelujah! Our Lord Jesus Christ, the son of the living God, has shown himself to be more than gracious, just, merciful, and fair in dealing with sin. Because we have faith in Him and his righteousness, we know as well of His salvation.
Satan wants Job to do one thing: when suffering comes, he wants Job to curse God and therefore forfeit his salvation. Far be it from us to ever blaspheme God in this way! Who can accuse God and not their own salvation at the same time? If they are right and God is unrighteous, wouldn't they wish they were wrong?
If your theology doesn't start with a God who is righteous and just in all cases, then stop for it is just as worthless as the god you made up. This is the beginning of faith.