Remind yourself at every opportunity that you have not got this far by being lucky. The unfolding story of your PhD features you front and centre: doing the work, making progress and getting close to viva success.
Nothing “just happens”. Your research outcomes, your personal growth and thesis submission are driven by you. Yes, you may have allies and supporters, but you are the protagonist of this tale. You are not in the background and you are not drifting along.
The story of your PhD is one of success through your effort. Remind yourself that your actions have got you as far you’ve come, whatever stage that might be, and that those efforts will see you through to a successful conclusion too.