I have a mid-range android from work (Samsung a53) and the UI feels annoyingly sluggish compared to my iphone 12.
What, exactly, is your point? Phones should get faster hardware because the UI is slow? Clearly not a hardware problem. Hasn't been one for at least a decade
Apple phones are always fast in the UI. Some is fast hardware, some is software. But if samsung is not able to stripdown android to run decently on a midrange phone maybe they actually need the faster single core performance.
I think the latter is better due headphone jack, speed and the option to record calls.