It appears you have installed some version of Bookworm.
All new OS releases have details explaining the nature of the changes
https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/
Bookworm (by default) uses Network Manager
which does NOT use wpa_supplicant.conf although my Raspberry Pi OS Bookworm 64bit has the file /etc/wpa_supplicant/wpa_supplicant.conf
it is empty
There is extensive documentation on Configuring Networking
Network Manager
It is still not clear which particular version you installed and the best approach depends on this (normally only the 64bit identifies itself as Debian).
If you have installed Desktop use the networking icon on the panel.
If you have installed Raspberry Pi OS Lite there is a similar Curses menu which can be run at the command line with nmtui
which presents a similar menu.
It is also possible to configure at command line with nmcli
but this is more complex.
If you want to know about NetworkManager there are many posts documenting this in addition to the link above e.g. Network Manager which shows
each WiFi network has a separate config file in /etc/NetworkManager/system-connections/
although in a well configured system these will have a 256bit WPA PSK rather than an ASCII passphrase. These files COULD be edited off line, but it is difficult to see WHY you would want to do this.