My experience playing one opening (d4/Queens gambit) as a beginner is that I failed to develop my tactical skills, which are used much more in gambits (but not the Queens gambit) and e4 openings generally. And I'd further argue that playing 'one opening' when you only know 2 or 3 moves is not really playing any opening, so it doesn't matter (much). I'd also say, learning the main opening principles: develop your pieces, don't move a developed piece a second time (with a few exceptions), castle as soon as possible, is probably more important than any particular opening repertoire.