To install a compatible version of Microsoft 365 on your Mac running macOS Ventura 13.7.8, you can consider installing an older version of Office that is compatible with your operating system. According to the information available, you should be able to install version 16.100 of Office for Mac, which is compatible with older macOS versions.
If you have a current license for Microsoft 365 or Office 2021, you can activate this older version. Additionally, if you have previously purchased a license for Office 2021 or 2024, you may be able to use that for activation as well.
Make sure to check for updates after installation to ensure you have the latest updates for that version.