New PC implies iPhone needs to be wiped ?

My hard drive broke and I had no backup (stupid I know). The hard drive has been replaced. I have downloaded iTunes but am unable to sync my iPhone. iTunes reports an incorrect password.
Do I have to reset my iPhone ?
Thanks very much for any help.
Have you copied all your old iTunes directories intact to the new computer?

Original thread: https://forums.imore.com/threads/new-pc-implies-iphone-needs-to-be-wiped.187508/