There are few things quite as emblematic of late stage capitalism than the concept of “planned obsolescence”.
Yeah, Windows 11 is a bad example of supporting old hardware because Microsoft stupidly and maliciously requires secure boot and TPM2 just to lock out otherwise fine hardware from using Windows 11. You can run Win11 without secure boot or TPM2 with mods, the hardware is perfectly capable.
Or just put Linux on it. Linux runs on damn near everything because it’s designed to run on damn near everything. There’s no profit motive to only support Linux on the newest and shiniest devices like there is for Apple, Google, Samsung, and even Microsoft (who sells most copies of Windows preinstalled on new PCs).