No.
The carrier is not a problem, but Galaxy S4 needs Micro SIM card and Moto X Pure needs a Nano SIM card.
SIM cards are cheap or sometimes free and phone numbers are usually transferable.
If you like this phone you can make it work for you.
I have this phone and I highly recommend it.