Daniel Ricciardo's likely exit from Formula One demonstrates the ruthless nature of the sport and is a fate which could befall any driver, according to Ferrari's Carlos Sainz.

Ricciardo will leave McLaren at the end of an underwhelming 2022 campaign, to be replaced by Oscar Piastri.

With only Williams and Haas possessing vacant seats for 2023 following Alpine's move for Pierre Gasly, Ricciardo recently acknowledged he was unlikely to remain on the grid next year.

The Australian, who has also been linked with a reserve position at Mercedes, said: "I think the reality is now I won't be on the grid in 2023, I think it's now just trying to set up for 2024."

Asked about Ricciardo's situation by Motorsport.com, Sainz expressed sympathy for his rival and said all F1 drivers were only as good as their last race.

"I feel for Daniel because I know how good he is. I always rated him super highly," Sainz said. "He found himself in a car and at a team that maybe he didn't find himself comfortable at, and that's enough for your career to start going through a different path.

"He might take a year off, he might not. But if he comes back in two years and he wins a race, no one remembers the two years with McLaren.

"This is why in F1 you always need to focus on the next race, because in the next race you can change everyone's impression.

"Every driver knows this, because it happens to all of us at a lower scale at every race. You're always as good as your last race, unfortunately, in this sport.

"If that gets amplified to a season, then you're only as good as your last season, and that's why Daniel is in such a difficult situation.

"No one remembers your good days, it only counts if you are half a second off in the last qualifying or the last season, and there's nothing we can do about it.

"It's how the sport rates us, it is how the sport treats us. That is why the highs are so high. When you win, you're a hero: your best weekend and you're the best driver in the world. No one is better than you.

"But then, when you are going through a bad moment, it's a sport that is very tough."