We are talking about the club being on an upward trajectory and not the league position. They are very different things. Attracting the right manager requires the club to be on an upward trajectory and generally speaking, requires the league position to be on a downward trajectory, otherwise why would a club be looking for a new manager. Yes, u can have managers leave for pastures greener but in general it will be when a club is doing badly that they replace a manager.