After reviewing your EtreCheck report, I do not think your MacBook Pro has a hardware problem.
The SSD reports 100 percent health, its read and write speeds are excellent, and there are no signs of memory failures, storage errors, or kernel panics. Your M4 Pro hardware appears to be in good condition.
The strongest clue is that Spotlight-related processes are consuming an unusually large amount of CPU time.
The report shows corespotlightd, spotlightknowledged.updater, mdwrite, and knowledgeconstructiond repeatedly appearing in the diagnostics over several days.
That is not normal. It suggests that Spotlight is attempting to index your files but is repeatedly getting stuck instead of completing its work. When that happens, it can easily produce the freezing and spinning beachball cursor that you are experiencing.
I also noticed that fileproviderd is using a significant amount of CPU.
This is interesting because your Mac is using both Dropbox and Google Drive, each of which integrates deeply with Finder through Apple's File Provider framework. In some cases, Spotlight and cloud storage providers can end up repeatedly scanning and updating the same files, creating a cycle of continuous indexing. It is one of the more common causes of persistent Spotlight activity on recent versions of macOS.
Although EtreCheck reports that your SSD is "too slow," the actual performance numbers tell a different story.
Your SSD is reading at approximately 5.1 GB per second and writing at approximately 4.0 GB per second. Those are excellent results for an internal Apple SSD. The warning is much more likely reflecting the fact that the drive is busy handling constant indexing activity rather than indicating a hardware fault.
Your memory usage also does not appear to be the root cause.
While there is about 2.6 GB of swap in use, that is perfectly reasonable for a Mac with 24 GB of RAM. The report also shows nearly 13 GB of available memory once cached memory is taken into account, so the system is not under severe memory pressure.
The high kernel_task usage is probably a symptom rather than the cause of the problem. When Spotlight and file indexing generate heavy disk activity, the kernel naturally becomes busier managing that workload.
One thing that stands out is that your Mac has been running for about four days, while the diagnostics show Spotlight-related high CPU events occurring throughout that period. That strongly suggests the indexing process is never actually finishing.
Based on everything in the report, I think the most likely explanation is that Spotlight is stuck in a continuous indexing cycle, possibly involving Dropbox or Google Drive.
A corrupted Spotlight index is another possibility, although it is somewhat less likely. I do not see evidence pointing toward a failing SSD, insufficient RAM, or a hardware defect in your Mac.
Contributing factors
1 - Commercial VPNs
They may not be what one believes they are doing for the computer and what they actually are doing behind the scenes and unbeknownst to the user ( you )
They may also reduce your Internet Speeds by upwards of 30%
https://gist.github.com/joepie91/5a9909939e6ce7d09e29
VPN: What you need to know - Apple Community
2 - Short and unpopular suggestion for some
https://chromeisbad.com
May consider an alternative https://brave.com which is essentially Google Chrome without the Google baggage
Stop Chrome Browser From Downloading a Hidden 4GB AI File
Refer to the Posting by Respected Contributor @ John Galt
Application memory error on my MacBook Pro - Apple Community
Refer to the Posting by Respected Contributor @ Kurt Lang
etrecheck... Mac running slow - Apple Community
1 - Google Chrome is overly aggressive in Resource and Memory usages.
2 - Google Chrome harvests all your personal data unbeknownst to you and sells your personal data, which intern allows the Third Parties to Target you for their purposes