While I'd have preferred to have seen Ricciardo get the Ferrari drive I just don't think he would have the patience for a multi-season battle for dominance over Leclerc (whether that would even be possible is another story), and despite Daniel's speed and clean racing skills things could work out similar to the current Vettel & Leclerc pairing, with the tension and on-track contact.
Carlos Sainz has more time to simply let his results speak for themselves, and if he can consistently and cleanly outperform Leclerc then his support within Ferrari will grow.
Either way, whoever got the Ferrari drive would have a huge uphill battle as Leclerc has proven talent on the track (or in the sim rig) and he is very good at dealing with the politics & media.
Daniel Ricciardo's move to McLaren is a positive step for him anyway, especially as McLaren will have the Mercedes engines again.