I'm _still_ using a 2013 Moto X. I've been ready to upgrade for a couple years, but nothing matches the requirements of: decent specs, stock Android, and <= 5". Apparently all the NBA players quit and became high-end phone designers three years ago.
Every now and then I toy with the idea of getting the latest iPhone. Another year of this old thing and I might get fed up enough to switch.
2013 Moto X here, too. I recently replaced the battery and it's been great to get through a full day again, but I'm nervous about the day when this thing actually dies. I'm looking for something with those 3 requirements as well, and it's incredible how few options there are.
The Pixel 5" meets the requirements, but it's still out of stock and $750(!). Otherwise the iPhone (same price) is the only other stock-OS, decent spec, <= 5" phone I'm aware of.
Every now and then I toy with the idea of getting the latest iPhone. Another year of this old thing and I might get fed up enough to switch.