The country, the Democratic party and Kennedy for that matter were lucky Johnson wound up in the oval office. Johnson was very good at actually making deals and getting stuff done (e.g. ensuring the budget that gets to his desk includes NASA). If it weren't for Johnson Kennedy would only be remembered for getting us into Vietnam then getting shot.