Good leaders understand the importance of keeping employees motivated.