This one gets debated, and there are a couple of common answers.
Some point to Super Mario 64 as a landmark 3D game, while others credit Wolfenstein 3D on the PC as an earlier, foundational example of the 3D style, even if it used a 2.5D engine rather than true 3D.
The honest answer is that "first 3D game" depends on how strictly you define 3D, so both titles are frequently cited for good reason.