From your screenshot, your disk layout actually looks normal for an Apple silicon Mac.
The extra entries you are seeing are expected and do not indicate that your SSD has extra partitions or that you have permanently damaged the drive.
The disk4 and disk5 entries are the macOS Base System, which is a temporary recovery disk image. It's loaded into memory whenever Recovery starts and is not stored as a separate partition on your internal SSD.
Erasing the APFS container while you were running macOS Tahoe would not permanently damage the partition structure.
1 - Since your diskutil list shows Macintosh HD, Macintosh HD – Data, Recovery, Preboot, and VM, macOS recreated the required APFS volumes correctly during installation.
2 - The reason Recovery appears to switch between Tahoe and Sequoia is that Apple silicon Macs can boot into different recovery environments depending on how Recovery was entered, whether Recovery was updated during a macOS installation, or whether it's using a downloaded recovery image. That behaviour can be normal.
3 - The one thing that is not typical is Recovery taking you directly to the language selection screen every time.
4 - If macOS still boots normally afterward, it may simply be starting the Recovery setup process. If it consistently behaves differently or Recovery no longer functions correctly, the recoveryOS may need to be restored.
5 - You can not downgrade the macOS Base System by itself.
6 - It is tied to the version of recoveryOS installed on the Mac and is updated when macOS or the firmware is installed or restored.
7 - Since you are thinking about trading the Mac in, the simplest option is to use Erase All Content and Settings if macOS is working normally.
8 - If Recovery continues acting strangely, the cleanest solution is a DFU Restore using another Mac with Apple Configurator.
9 - That reinstalls the firmware, recoveryOS, and macOS, returning the software to a factory state.
Apple's guides that are most relevant are:
➡️ Revive or restore a Mac with Apple Configurator ⬅️