The evolution of the labor market has forced companies for quite some time to position themselves as employers and improve their image in order to attract the right candidates and retain and motivate them in the long term.
Leadership behaviors have changed significantly. There has been a shift from authoritarian leadership to a more cooperative style. This implies a change in perspective, moving away from simply punishing and giving orders and towards fostering participation, personal responsibility, and rewards.

Consider the context of leadership
The contingency leadership model states that there is no single right way to lead, but rather that appropriate behavior should be adopted for each situation. What works in one situation may not be suitable for another.
What you need is an effective strategy to ensure everyone is aligned and working toward established goals. Equally important is transforming that strategy into a vision of what needs to be achieved. This will ensure your employees do their utmost to deliver outstanding results and go the extra mile to achieve those goals together—for the company, the project, and even a greater cause.

Human Resources and Leadership Development
Providing the right work environment is a key aspect of human resources. It's important to organize workshops, training courses, and leadership coaching sessions so that people have time to actively reflect on the context, their roles, and their relationships.
HR should also offer support tools and processes such as employee surveys or feedback tools so that managers can understand their team's expectations and act accordingly.
As a general rule, managers should be seen as coaches, rather than bosses and leaders who simply give orders. They should train and guide, not judge and lead.
Working and leading like a coach will help you avoid judging your employees. It's better to give them feedback and encourage them to ask for it as well. Create a workplace that people want to be a part of.
The role of HR in leadership
Motivation, understanding, empathy, and personal responsibility are now fundamental requirements for people management and leadership. As a result, HR management in the future will focus less on processes, responsibilities, and KPIs in general.

Instead, managers will be encouraged to become true leaders who think, communicate, collaborate, and act with a long-term perspective, and they will be motivated to develop both personally and professionally.
In this way, you can almost guarantee that your employees will stay with you for a long time to come.