They lost to mediocre teams and that is different with Real Madrid. Even though they only won with a score of 1-0 or 2-0, a win is still a win. I think this is exactly what Ancelotti said. That Barcelona did win the El Classico but Real Madrid will win the trophy.
You are so confident after Barcelona's poor results in a few matches. I think all possibilities can happen, it's normal for the team to have ups and downs. Big teams are all bound to experience and this is the League is always difficult to predict. Real Madrid had a chance to catch up and that made me happy because Real Madrid won today. The point difference is getting smaller. The team's current coaches have the opportunity to improve their strength by taking advantage of the winter transfer market.
Now it is fair enough for Real Madrid and Barcelona, at the beginning of the season Real Madrid was in a slump but now Barcelona is experiencing it but don't be too quick to conclude that this will continue because it is true as you said that the ups and downs of a team's performance are common and Real Madrid and Barcelona are also likely to experience that throughout this season so if we talk about the title race this season it is still too early because the journey this season is still very long and all possibilities are still possible to happen.