This also depends on the country and its work culture.
For instance, a senior engineer can be valued and respected internally, and paid accordingly in the US. In a country like France, where technical talent means little (except for very rare and niche skills), engineers usually transition early to managing positions if they can.