Toji fucked up in the last moment against Gojo, regardless. Had Gojo died there, he'd come back as a curse. He lived and came back as the Strongest of the Era.