Laws aren't always based in morality, even when they align with morals.
Even when a person commits a "bad" act, that does not necessarily make them a "bad person."
After all, only God can judge them, right? ;)
After all, only God can judge them, right? ;)
So, applying your judgments to a person who reacts to their environment based on limited information and experiences, and saying they are fundamentally good or bad may not be totally logical.
Then the saying "only God can judge" means that an omnipotent being, who perfectly understands everything, is the only being capable of perfect judgments and certain condemnation or praise.