I've asked Bing AI to provide me with a list of "budget Android smartphones in 2023". Additionally, I've asked it to "consider ... new releases as well as flagship smartphones from previous years that can be still purchased new or are available on the secondhand market". This is why you see flagship phones from 2021 that after price cuts are matching mid-range phones from 2023 in price and may be even better performance / build quality wise.