Wow, tough room. Y'know, you are allowed to be wowed by graphics and at the same time not care whether or not a game has amazing graphics. The two are not mutually exclusive. Avatar was visually amazing, but the movie was boring AF. So... yeah.
ANYway, along those lines, I was impressed by how much could be going on at once visually in Cyberpunk 2077. Other games before it have probably wowed me more, but the question didn't say what game wowed you the most, just what the last game was that managed it, and that was CP2077. Though RDR2 wowed me more when I first played it. And as others have said, gameplay is king, but I'm not going to act like a given game isn't pretty, no matter how shallow its gameplay is or isn't.