Google changed its data retention policy following the European Union’s General Data Protection Regulation (GDPR) law. Following the change, user and event data older than 26 months isn’t available in results. For Google Analytics 4, data retention applies only to user data.
Read Google’s instructions if you'd like to make changes to your user retention policy period.