When he decided to “retire” he had the lowest approval rating of any Senator.
His staff told him back in 2017 that he had no chance whatsoever of winning the primary. So, he decided not to run again, in order to avoid the embarrassment of being destroyed in an election.