Apple ID is not working

They gave me an iPhone 6s for a friend. It was completely rebooted and the SIM card was removed. Every time I try to log in to my Apple ID, it says "Could not log in."

My steps
"Configure manually"
"Set up as new Iphone"
"Enter the Apple ID and password"
"Accept the terms and conditions"
"Pop-up message & # 39; Could not login"