The sin of Judas was greed.
Among many others, yes, but despair leading to suicide is not forgivable, whereas greed is. Greed alone would not have sent Judas to hell, his despair did send him there.