The iPhone X is a mid range phone for $1000, that’s the difference
Less memory, less storage, smaller lower res screen, no S pen, no expandable storage, no headphone jack, bigger battery.....etc
A year-old phone that is faster, has bigger (and faster!) storage, has much better haptics, has 3D touch, has more secure biometrics, will get software updates for much longer (and Note 9 doesn't even come with the latest version of Android) and is comparable in terms of camera quality - and, again, it is a year-old phone! In what universe is this mid range, pray tell.
Not saying any of that necessarily makes for a better phone, but at least with the Note 9, you know you are, at least on the hardware front getting plenty for your money.
At least with iPhone you know you'll get software support for 4-5 years and it won't slow down to a crawl after a year. I do believe the iPhone X is, overall, a better value than the Note even today, and just wait a month for the new iPhones to arrive and compare then.