This is very true. Management roles tend to be kept in-house.
Plus you're gone when the project or milestone is completed, instead of having to worry about finding another role or laying you off.
You can sometimes have to leave when the project is completed, but more often than not they have a new project kicking off.