I like the ending. Barney and Robin's divorce, it feels real. These two were never going to last. It doesn't make their love artificial or mean it was not real. But the sad reality of life is that people get married and love each other but it still doesn't last. Similarly, Ted's wife dying...people die. You don't plan for it, you seldom see it coming...but it happens. It is a real curve ball life throws at you. Bravo to the writers for having the balls to explore something like that.
The only part I didn't like was Ted and Robin getting together. But I feel like a lot of what was cut from the finale would've made it make more sense. It doesn't mean Ted did not love the mother...it just means now, in different places in their lives, Ted and Robin could try again. Timing is everything when it comes to love. They weren't the right people for each other in 2012. That doesn't mean they weren't in 2025. They grew, they changed, and now they could give it a go.
It is actually an incredibly fitting and poignant ending. Think of how many times the show explored the theme of never knowing where life is taking you, the universe's plan, etc. It was a common theme and the ending underlines it beautifully. They just dropped the ball in terms of execution.