I just happen to be in the market for a new phone

Before, buying a Nexus meant you had to deal with a bad camera or poor battery life, but the Nexus 5X and 6P are the first Android devices built with few to no compromises. The one thing you could complain about is the lack of wireless charging, but we can deal with that. The camera on a Nexus is finally good. The 12.3 MP cameras can hang with phones that are nearly twice the price of the 5X.

Source: Nexus 5X and Nexus 6P review: The true flagships of the Android ecosystem | Ars Technica

I broke the screen on my Canon S100 and the camera on my Nexus 5 is not the best. So by all appearances either phone is a worthy upgrade.