was the buddha ever confused?

according to the traditional account,
he was born perfectly pure, ,
took seven steps on the blooming lotuses,
declared his enlightenment in that very life time.
he was born to be "the Buddha".

he was predicted to be "the one" by the Brahman.
he was a special kid,
a talented young man,
a spiritually gifted shramana.

it sounds like he didn't have to do anything to become the Buddha.
everything went--just smoothly--no obstables, no mistakes, no confusions.

is it really true?
was the buddha ever felt lonely or confused?
did he have any doubt in his mind in the path he was in?
was he scared?