Best and worst Camry Toyota years?

Hi, new members of this forum. Which Camry years should one avoid?

The engine of my wife’s Kia suddenly blew up (never purchased a Kia or Hyundai).

Many thanks!

From 1997 to 2001, these models experienced issues with engine oil gelling. Additionally, the water pump design was flawed and even the updated versions continued to leak.