it's down to JC's character.
He's not ready to be PM, at the time of the referendum, not even now, and there is plenty of competition for the job.
Corbyn is a good tactician but not strategist.
He saw that voters are divided and tried to use it against the tories, hurting himself in the process.