Hi,
The Office 365 installation package is also 2024; it adjusts the edition after you log in with your Microsoft account and activate it.
https://support.microsoft.com/en-us/office/lifecycle/officeinstall/download-install-or-reinstall-microsoft-365-or-office-2024-on-a-pc-or-mac
If you are having difficulty, you can do an offline installation.
Office 2024: https://learn.microsoft.com/en-us/answers/questions/5602985/how-to-download-office-2024-home-iso-file
Once the download is complete, right-click the mounted drive and select 'Mount'.
Open File Explorer and go to 'This PC'.
Select the Office icon, right-click it, and select 'Open'.
Open the 'Office' folder and locate the setup64.exe file.
Please consider rating the question (accept the answer or not), and access the community at Microsoft Q&A if you have further questions.
Thanks