Running for President isn’t about winning the Presidency.
It is about raising your profile as a leader - go consolidate power, prestige, speaking fees, opportunities from lobbyists, etc.
... which is of course what politics is about from their point of view.
Heck Trump announces he is considering running every time.