You installed pygame for your python interpreter but you are specifying your script run from IPython - I never use spyder b/c that's an extra layer of complication I don't need, but you should probably check what interpreter spyder is running
and in that prompt (shown in links below) either specify the 'normal' interpreter (the one for which 'pip install XXX' will install XXX for, that is c\users\jason...python39). Or you could do what some other people say and use conda instead of pip to install pygame to your spyder environment. Once again spyder/anaconda/ipython is a big wtfwhy for me, and haven't used it in many years, but from my understanding conda is like a parallel package manager to pip, but for anaconda setup.
How to check which Python interpreter Spyder is running on its console?
which references this, probably the direct solution you need:
How to change python version in anaconda spyder