If you’re planning to sell your used iPhone or trade it for a new model, you must erase the data first.
It is advised to erase the data because you do not want your personal information falling into the wrong hands. However, erasing the data or taking a backup of the