Again, you only have to go back one president to find another counterexample. Joe Biden was fond of pointing out that the 2008 primary race was the first election he ever lost.
So two of the last five presidents picked primary rivals as their vice presidents. (OK, six if you count the current guy. Ugh.)