You’re getting so many facts wrong.
Spider-man 1 sold 13.2 million by August 2019, nearly a year after release, while Spider-man 2 has only been out for 7 months. The 33 million sold was for both the 2018 game and Miles Morales combined and that was by May 2022, nearly four years after release. Also, there were over 90 million PS4 owners by the end of 2018, while there are over 50 million PS5 owners right now, and since Spider-Man 2 is a PS5 exclusive, there is a smaller amount of people who have the system to play it.
The first fact alone actually means for now in terms of sales periods of an equal length of time that Spidey 2 is outselling 1, as it’s only below 2 million but has four months to catch up and is achieving that despite there being roughly 40 million less PS5 owners compared to PS4 owners of the relevant time periods.