I think OP's point was that Google/Android don't have much to do with OEMs choosing to update their older devices or not.
Samsung and Google can do 5 years of support because of Exynos/Tensor, and Samsung basically spends the money to support older Qualcomm devices themselves.
https://www.qualcomm.com/news/releases/2020/12/qualcomm-and-...