Motorola dropped support for the moto g within 6 months of me buying it. I got either one or zero android version updates iirc.
“A year and a half of OS updates” rapidly becomes 6 months of OS updates if you don’t buy on launch day, wait for prices to drop a little bit and inventory to normalize, etc.