Agreed. Usually you’ll get more money by selling it. $400 for an iPhone X is okay but question is what model and storage amount? I sold my Qualcomm 256 GB iPhone X for $550 the other day. It is in mint condition. Battery health is at 97%. 16 months old, to be exact.
Mine was unlocked 64gb. Apple gives you $400 for it.