The same God who created us also requires that we should be righteous as he is: “You are to be holy, because I am holy” (1 Peter 1:16).
So, are you holy? Am I holy? The dictionary gives the meaning as “spiritually perfect or pure; untainted by evil or sin; sinless; saintly”. Do you know anyone that’s holy?
So, it follows then that we can only expect punishment from a holy God who demands a standard of righteousness that we are quite incapable of living up to. It might seem that this is quite an unreasonable position for God to take. Nevertheless, it remains true that “the soul that sinneth, it shall die” (Ezekiel 18:4), and again “the wages of sin is death …” (Romans 6:23). And we cannot, in all honesty, argue with the justice of it.
And remember, God who made us for this world also made the world for us. We are designed to fit together. And, like any complex system, it is governed by rules and there are instructions for use. If these rules are flouted and the instructions ignored then the system won’t work properly. The further human society moves away from God’s laws, the greater will be the problems, and the heavier the price to pay for the consequences. The evidence for this is there in contemporary society for all to see.
Fortunately however, being not only a holy and righteous Judge but also a loving heavenly Father, he has also provided the means for our reconciliation: “… but the gift of God is eternal life“. Jesus of Nazareth, the Lord God incarnate, “the Lamb of God, who takes away the sin of the world!” (John 1:29), freely offers forgiveness to all who ask.
So, if you are willing to commit yourself entirely to him, recognising that any efforts of your own don’t even begin to address the problem, then his Righteousness will be attributed to you. You must either kneel willingly before his Love now, or cringe fearfully before his Judgment later.