People are not condemned, judged, or punished because they do not have faith in Jesus. They are condemned because of the evil acts they have committed during their life on Earth. They are saved from punishment by faith in Jesus, and (depending on your view on justification by faith alone or with works) by those works of righteousness that spring from that faith. Lack of faith leads to lack of forgiveness and justification, but that forgiveness and justification is only needed because of the sins already committed. As an analogy, the governor of a state by statute may pardon a criminal on death row. If he does not pardon the criminal, and the state has capital punishment, you could say that the governor condemned him to die, but it is really the crimes that the person committed that really condemned them.
Matthew 12:
36 I tell you that on the day of judgment people will have to account
for every careless word they speak. 37 For by your words you will
be acquitted, and by your words you will be condemned.”
John 3:16
“For God loved the world in this way: He gave His One and Only Son,
so that everyone who believes in Him will not perish but have eternal
life. 17 For God did not send His Son into the world that He might
condemn the world, but that the world might be saved through Him. 18
Anyone who believes in Him is not condemned, but anyone who does not
believe is already condemned, because he has not believed in the name
of the One and Only Son of God.
19 “This, then, is the judgment: The light has come into the world,
and people loved darkness rather than the light because their deeds
were evil. 20 For everyone who practices wicked things hates the light
and avoids it, so that his deeds may not be exposed. 21 But anyone
who lives by the truth comes to the light, so that his works may be
shown to be accomplished by God.”
John 7 shows the clearest connection between faith and forgiveness, where a sinful woman demonstrates her faith through her loving act of anointing Jesus:
36 Then one of the Pharisees invited Him to eat with him. He entered
the Pharisee’s house and reclined at the table. 37 And a woman in the
town who was a sinner found out that Jesus was reclining at the table
in the Pharisee’s house. She brought an alabaster jar of fragrant oil
38 and stood behind Him at His feet, weeping, and began to wash His
feet with her tears. She wiped His feet with the hair of her head,
kissing them and anointing them with the fragrant oil.
39 When the Pharisee who had invited Him saw this, he said to himself,
“This man, if He were a prophet, would know who and what kind of woman
this is who is touching Him—she’s a sinner!”
40 Jesus replied to him, “Simon, I have something to say to you.”
“Teacher,” he said, “say it.”
41 “A creditor had two debtors. One owed 500 denarii, and the other
50. 42 Since they could not pay it back, he graciously forgave them both. So, which of them will love him more?”
43 Simon answered, “I suppose the one he forgave more.”
“You have judged correctly,” He told him. 44 Turning to the woman, He
said to Simon, “Do you see this woman? I entered your house; you gave
Me no water for My feet, but she, with her tears, has washed My feet
and wiped them with her hair. 45 You gave Me no kiss, but she hasn’t
stopped kissing My feet since I came in. 46 You didn’t anoint My head
with olive oil, but she has anointed My feet with fragrant oil. 47
Therefore I tell you, her many sins have been forgiven; that’s why[n]
she loved much. But the one who is forgiven little, loves little.” 48
Then He said to her, “Your sins are forgiven.”
49 Those who were at the table with Him began to say among themselves,
“Who is this man who even forgives sins?”
50 And He said to the woman, “Your faith has saved you. Go in peace.”