Check the symlink setting, too [additional to the previous answer]:
Using readlink: The `readlink` command can be used to see the target of a symlink:
readlink /usr/bin/python
To change the symlink `/usr/bin/python` to point to `python3.13`, you would run:
sudo ln -sf /usr/bin/python3.13 /usr/bin/python