The A54 is a great choice, im using one now, was meant to be a temporary device leading up to a fold 5 ... but i think im going to keep it. i cant even see too many reasons to move to a S23+ :/
Sw side its only missing bixby and expert raw
HW is a lesser CPU ( but just fine for everything i do with it) , no wireless charging, slightly different lens setup ...
other than that .. you have a phone thats barely different to the flagship.
just make sure its the 8GB ram model