The word translated "that" would be better translated "consequently."
Those who would not believe in verse Joh 12:37 could not believe in verse Joh 12:39. Since they didn't want to believe, they weren't able to believe because God hardened their hearts. Why? To ratify their choice. You see, had not God blinded their eyes and hardened their hearts, Jesus' teachings would have been so powerful, so persuasive, and so overwhelming that they would have believed against their will. The same is true today. To those who don't want to believe, to those who continually stand in the posture of unbelief, there will come a time when they cannot believe (Mat 12:31).