Try some of the steps on this page [1]. In particular, enabling real-time protection stats and then adding exclusions for the processes causing the most file scans can help.
1. https://learn.microsoft.com/en-us/defender-endpoint/mac-supp...
1. https://learn.microsoft.com/en-us/defender-endpoint/mac-supp...