Bad system config is often related to corruption of the registry.
Please find a friend, neighbor, relative, or local repair shop to borrow tools so that you can troubleshoot the computer.
Find a flash drive that you can format.
Create a bootable Sea Tools flash drive:
https://www.seagate.com/manuals/software/seatools-bootable/
Run the Sea Tool long generic test > take pictures > post images or share links into this thread using one drive, drop box, or google drive.
If the disk drive fails the Sea Tools long generic test then manually backup files and replace the disk drive.
If the disk passes the Sea Tools long generic test then create a bootable Windows 11 Media Creation Tool (MCT) (Windows 11 iso)
https://www.elevenforum.com/t/download-official-windows-11-iso-file-from-microsoft.1009/