Adaptive retention policies are great, but they require high-end Office 365 or Microsoft 365 licenses. The solution is to build your own version using PowerShell and Azure Automation, which is what I describe how to do here:
https://practical365.com/adaptive-retention-policies-azure-automation/