If you want to improve your skills in CS2 before playing a game against real players, it is best to play a game with bots, where you can adjust the difficulty to your needs and skill level.
How to Fix Bots Difficulty in CS2? – Change Bots Difficulty in Counter Strike 2
Like most games, CS2's bots vary in difficulty for beginners, those looking for an extra challenge, or more experienced players looking to take on the toughest opponents alongside real players. You can only play against bots in practice matches, but once you've mastered most of these difficulty levels, you should have a decent feel for the game and its combat.
Players just starting out in CS2's practice mode can adjust the bot's difficulty in just a few ways.
To change the bot difficulty in CS2, you need to start a game in practice mode and load your bot teammates and opponents. Once you're loaded, open the game's console and type "bot_difficulty" followed by a number from zero to five, such as: "bot_difficulty 3."