Google's recent Pixel devices currently have five years of updates involving three OS updates and security patches for the last two years. It could probably change with the Pixel 8.