As a leader, if you want to motivate people, there are many ways and the effectiveness of each can vary depending upon the person or the group.
The approach I recommend most is simple: Give them a meaningful goal, enable them to achieve it, and tell them how they are doing.
Achievement can be powerful but it is not necessarily addictive. It must be frequently renewed and nourished with candor. Don't assume that the obvious will remain obvious.
Like a ship captain, periodically check to ensure that winds have not altered the course. Frequently emphasize the mission.
This is not magic, but it can produce a certain magic.
[Photo by Sebastiano Piazzi at Unsplash]