Most of the newer phones perform just as well or better than the original Moto X. I had one that that died prematurely in 2016 and have used a variety of Moto phones since. Not a step backwards at all in my opinion.
I’m not a fan or the latest Moto phones with the huge round picture window camera component. To me it’s too large of a target waiting to be damaged. X4 protrudes farther but all are similar sized pieces of glass.
Rather than agonizing you may want to consider something less expensive that will you should find more than adequate at least for the time being. I’ve been very impressed my G4 and the 32GB version is still available from B&H for about $130.