This was true 10-15 years ago. It is no longer true. Chess engines have positional evaluation algorithms that have been trained using many millions of games, and the weighting parameters for different kinds of positional features have been adjusted accordingly.
Do some reading on Stockfish for example if you doubt the veracity of my statement.
Do some reading on Stockfish for example if you doubt the veracity of my statement.