Are you signed into iCloud in settings on the device with the same Apple ID?
If not then that could be why it's saying it's wrong. If that is the case download the apple support app if you don't have it already then reset the password for the one that your trying to gain access too.
If you forgot your Apple ID password - Apple Support
Reset your Apple ID password with the Apple Support app on a borrowed device
If you don't have an Apple device but have access to your trusted phone number, you can borrow an Apple device from a friend or family member, or use one at an Apple Store.
- Open the Apple Support app on the borrowed Apple device. If needed, you can download the Apple Support app from the App Store.
- Scroll down to Support Tools, then tap Reset Password.
- Tap "A different Apple ID."
- Enter your Apple ID, tap Next, and follow the onscreen instructions to reset your password
If that doesn't work you could try requesting account recovery at iforgot.apple.com