2017 easily, it got a heavy hitter every two months
2019 was fantastic but not on the same level
2022 was also fantastic, would've been the console's best year if it had Metroid Prime remastered and Zelda TOTK on the same year as well.
This year looks astonishingly good, with already 2 GOTY contenders, so if they release a new Super Mario game, it will be the console's best year