The screenshot of the octopi-wpa-supplicant.txt file is worthless in this case. For us to help, we would need the actual file.
I'd suggest that you try:
sudo nano /boot/octopi-wpa-supplicant.txt
and delete the lines starting from network={ to the line before ## Open/unsecured
and type them in again. The nano keys to write the file and close nano are conveniently displayed at the bottom of the terminal screen.
If you edited the file on a Windows (or Mac) system before booting the RPi with it. Re-read (and obey) the HEADS-UP comments at the beginning of the file.
Sometime in the past 3 years, the RPi was probably powered down without being shutdown first. Unfortunately, the RPi doesn't like this very much and it has been known to corrupt the SD card in retaliation. The file didn't change by itself, it had help.
This may not be the only file that has been corrupted on this SD card. You may need to use your backup. If you can move the RPi close to an ethernet port and connect it, it should configure itself to use it and then you can do a backup before starting over with an new SD card (or at least a new image on the existing card).
There is no country code declaration in the file. If it stopped after an apt update, that is the issue.
Get rid of all the unneeded garbage in the file