Please manually uninstall Origin using the specific steps here: https://help.ea.com/en/help/origin/origin/manually-uninstalling-origin/
Reboot and then download the most recent installer from here: https://www.origin.com/irl/en-us/store/download
Run the Origin installer and then retest again. Do let us know how you get on, thanks.