That's right, friend. In the end, even winning in pre-season matches is sometimes important to build the confidence of the players in the squad. And also to bring our trust in the new coach to a club. Even though all of this cannot be a definite benchmark, there is hope that a team that is good in pre-season will be able to play well in the actual season. For a strong team like Real Madrid, maybe they save their best strategy for the actual match. So it is not surprising that they do not attach importance to the results of pre-season matches. but for a team that has a new coach, I think they are testing the squad seriously in pre-season because it will be their debut there. And even bad results in pre-season can make people start to distrust them. So they are more serious about getting good results.
I confirm with your opinion especially that stated in the first few lines of your comment, except for strong teams who have gotten their form and strength intact such that they have the confidence enough, they only use the pre season friendly as a means of getting ready for the season. So it's only important for the confidence of the new team or weak teams who are still finding their feet around the league with hopes of getting better to the point where they will be able to get to the top so they make it an important game for them .