Depend on game. If this is an rpg like Baldur 3 hell yeah i agree, you can respec basically everything but race anyway later.
If this is about anything based on pathfider, so-so, pathfinder perks are so fucking confusing, and in some versions classes are very unbalanced (yeah you fuckers who make Rogue Trader classes, fuck you and fuck you triple for nerfing the only ones which were even remotely not absolute tedium to use)
If this is about hack&slash games sometimes mistakenly called "rpg", yeah no, you choose wrong and you can waste dozens of hours of gameplay.
I stuck in a death loop in Kingmaker and never finished the game because my Wizard couldn't solo a fuckton of enemies which the game forces you to into.