What is expected support period for routers?

Wonderful.
I don’t tend to change routers or AP often. Thus, I want to have support, or else, security updates as long as I keep them, typically 3-4 years.