Suggestions:
Uninstall Office 2019.
Install Project Pro 2024 key with your Microsoft account.
Visit https://account.microsoft.com/services
Click on Project Pro 2024 and download the installer.
Consider installing Microsoft 365 Apps for Enterprise if your license allows it.
Alternatively, use the Office Deployment Tool (ODT) to install Office 2019 and Project 2024 together.