Most smartphones get reliable updates and app support for 2–3 years. After that, app developers may stop supporting older OS versions and apps gradually start to break — that's not something specific to our phones, it's how the smartphone industry works in general. If your phone is around 5+ years old and apps have started failing, it's usually time to upgrade.