I know I played atari 2600 before NES, but I can't think of any that were beatable.
So most likely Super Mario Bros when I was 5 or 6.
The adults in the extended family got to play a lot more than I did (the NES was for them lol), but I was handed the controller if they died too much.