I think you're seeing it too negatively.
There isn't just one useful ability score for each class.

For example, Dexterity and Constitution are useful regardless of class.
And even wisdom is pretty useful since there are a LOT of will save checks in the game.
Technically, there is no such thing as a dump ability stat in this game.

And every two levels you can increase any ability score by +2.
This means that even if you start with 14, you can end up with 20.
So an Elf wizard and a Half-orc wizard at level 12 both can have an intelligence of 20.

So yes, SOME races are initially better in main stats for some classes.
But you can distribute your starting stats so that at level 8 there will be practically no difference between the "TOP" race for your class and the race you chosen.