Contrary to popular belief, Wolfenstein 3D and Doom were not the first first-person shooters. That honor goes to an earlier title called Catacomb 3D.
Released before those genre-defining games, Catacomb 3D was the first true FPS in existence. Interestingly, instead of firearms, players wielded magic. It was a decent game for its time and appeared on platforms like the PC. So while Wolfenstein and Doom popularized the genre, Catacomb 3D paved the way first.