I think you mean management are supposed to act in the interest of shareholders.
Inept managers don’t always do so by default!
Sometimes ethics also enters into the equation.
The lower you get down the food chain the more the connection to shareholders interests becomes diluted. Self interest becomes a far more realistic driver.