Making money and spending it wisely has always been a vital but rather underplayed part of Pokémon games. Money is given as a reward for defeating Pokémon Trainers and attained by selling items, and it ultimately funds a more expansive and unrestricted playing experience.
Source:https://www.cbr.com/money-making-strategies-pokemon-scarlet-violet/