Even if your assumption is correct, Barcelona's defeat to Arsenal with a score of 5-3 will be an object of ridicule for some people who hate the Catalan team. I agree with your assumption that friendly matches are nothing more than test matches to give players a chance before the official competition starts.
After all, friendly matches are not matches that are so important for all teams, let alone to play as much as possible. It's hard to expect friendly matches to be very interesting because players tend to play it safe to avoid injury, but the result of the match will be judged positively by each coach of the two teams. Next match, Barcelona will face Real Madrid for a friendly match at the AT&T Stadium in Arlington, Texas, United States.
It is true that this friendly match is nothing but a club promotion event and expands the fan base of each club, either Barcelona or Arsenal. I agree that the benchmark for preparing for next season in friendly matches is not quite right, meaning that friendly matches cannot be a full parameter to measure the quality of the club's squad I think.
Broadly speaking, this is just an event to give playing minutes to young players, by fielding several players from the main squad will attract the attention of the audience. The rest greet the fans and become a holiday venue for the players before the league officially rolls on.
Regardless of what their assumptions are about friendly matches, I think the prestige is still there.
Arsenal and Barcelona are big teams in their respective leagues, so it's clear to them that the result of a friendly match could also be a record to be considered in the future. In official competition, Barcelona tends to win more often than Arsenal, but yesterday Arsenal managed to silence Barcelona with a score of 5-3.
Once again, it was a friendly game that cheered up most of the fans, but it's about the coach and each team that pride is definitely involved. The prestige of both teams is to win and prove themselves better, but in the end we just assume it's different.