It might have the worst ending in TV history, but no one can deny that How I Met Your Mother is a classic. The show pretty much does what it says on the tin: featuring hapless singleton Ted Mosby (Josh Radnor) telling his kids how he met and fell in love with their mother.
This tale ended up taking nine seasons and had plenty of detours along the way. In the end, it was more of a story about Ted and his friends' exploits as they navigated their late twenties/early thirties. But it's comforting and life-affirming nonetheless.