Your confidence and show of courage, particularly during tough times, will help the team to beat the fear of failure and summon courage to tackle hard problems and challenges. You can inspire the team by engaging them through your words, actions, expertise and result.
As a source of inspiration, you act as a counsellor, mentor, coach and supporter for your team members. As a project manager, you are like a General in the army who is facing a tough battle. Though he is burning and troubled inside, as a courageous leader of the troops, he has to show good/determined face and behaviours to continue to encourage the troops, even during challenging times.