Unable to upgrade past 3.6.9

I use this, but it doesn’t work. pip is associated with python3.6 and not python3.13.