The writers of Ted Lasso nailed the ending.