I don't know who decided (between Perez and Ancelotti), but Real Madrid made a mistake by being stingy with their spending last season, and they underestimated the conditions they are facing. They have the opportunity to bring in new players in the January transfer window, but they didn't take advantage of it, though they still have enough budget to spend.
Real Madrid management is very conscious about spending money. Madrid management does not spend money unnecessarily. Madrid did not spend much money to add new players to the squad last season. There were enough reasons for this.
Madrid played great last season. The team was strong in attack, defense and midfield. This season Madrid strengthened their attack even more by adding Mbappe. The midfield and defense remained unchanged.
Madrid's defense was also strong this season. Madrid faced big problems because several defenders got injured at the same time. This was Madrid's misfortune. Madrid's squad is still very strong.
There are areas I disagree with you especially on the side that Real Madrid management are very conscious of spending money in buying players. That is not correct because Real Madrid have been known for spending big money to bring in quality players. You cannot use just last year to conclude because the signing of Kylan Mbappe was all they needed as they already have all the quality players they needed. Can you tell me who they would have bought that they refused to buy because of the price?