@Steve ********
another point of information...
When you arrive into Thailand, the Thai Immigration Officer will be able to see your complete Thai Immigration history .. as the Thai Immigration computer system matches All of your passports held by you. They use facial recognition software and your fingerprints.
In other words, getting a new passport does not hide the prior entry stamps, Thai visas and varied extensions you obtained in the replaced passport that you now hold.
IF you have a recent history of staying in Thailand during COVID-19 with use of various visas and COVID extensions, plan your NEXT steps carefully.
Obtaining a New Thai Visa from a Thai Embassy or Consulate is no guarantee you will be allowed to enter Thailand. That decision is at the discretion of the Thai Immigration Officer who greets you on arrival.