The end of a device's life is not the end of its consequences. Electronic waste — containing lead, mercury, cadmium — flows disproportionately from wealthy countries to poorer ones, where it is processed under conditions that poison the people doing the processing. The full story of a smartphone includes where it goes when you upgrade.
Each step builds on the last.