I don't understand why but I have felt this lack of confidence solo, but taking a non pilot passenger with me seems to force me to have, or at least demonstrate, the required confidence.
Uttering "Oh !!!!" with a nervous pax listening would destroy my faith in myself so I would say nothing & think "I am responsible for this poor buggers life, get a grip!"
Taking an instructor just passes the buck.