Hi, I'm Bernard. I'm happy to help!
The error occurs because the PC is not yet enrolled in Extended Security Updates. In this case, I recommend enrolling the device in ESU first. Kindly follow the steps provided in the link below:
https://www.microsoft.com/en-ca/windows/extended-security-updates
Once done enrolling, restart the PC and try to update the device again.