I am planning to sell my phone and I am hesitant because I am thinking that what if i deleted my private stuff and the buyer might have the chance to retrieve it.

Is there a chance that they can retrieve my old stuff even if I already deleted it?

The phone is samsung A52