Do openings matter? Yes, to the extent that you don't want to get checkmated in the opening ... or start the middle-game with a completely losing position.
Does opening theory matter? Not so much ... at least, not until you reach a higher level.
To support my argument, I'll play an opening against one of the computer Bots here ... and I'll use none of my opening knowledge. I'll just play on principles as much as possible.
I chose Noam, because it says he's rated "Master" (2200), and I'd like to test this theory on a bot that plays relatively strong openings. I'll also give Noam white:
1.d4 d5
Noam-BOT played d4. So I went with opening principle and played d5, opening with a pawn to the center.
2. c4 c6
I know the theory Queen's Gambit Declined, which is why I always play ...e6 here. But I want to show, in this example, that one can play without theory, so I chose ...c6 here, defending the d5 pawn with the same pawn (c-pawn) that white is using to attack it. I don't play the Slav, nor do I know any theory in it.
3. Nc3 Nf6
White is adding more pressure to the d-pawn, by attacking it with a developing knight. So I respond in kind: defending the d-pawn with a developing knight. Now I'm one step closer to castling.
4. e3 g6
Using principles, I want to develop my king bishop at this point (to castle as soon as possible). but if I play ...e5 here, white can simply capture my pawn. And if I play ...e6, my queen bishop will be shut in, and will take longer for it to get active. So the only other possible move, to develop my king bishop, is ...g6, planning a fianchetto.
5. Nf3 Bg7
White appears to be following principles, as well. He has developed his king knight, and is now closer to being castled. I continue with my plan: developing my king bishop into the little nook that ...g6 left for it.
6. Bd3 0-0
White gets his last kingside piece developed. I complete my principled plan: castle early.
7. 0-0 dxc4
I want to develop my queen bishop to g4 next (that was the whole point of playing ...Bg7 ... to keep a diagonal open so I could develop my queen bishop. But there is tension on d5, that I've noticed. If I play ...bg4 now, white could play: c4xd5. I would be forced to take back: c6xd5. But then white could play: Qb3. And now my b7 pawn is being attacked, as it is now undefended.
This might be fine for black, but I'd rather finish my development before allowing any sort of tactical complications. So I play dxc4 first, to stop that line, and to allow ...Bg4 next.
8. Bxc4 Bg4
As planned, now I've developed my bishop to an active square. I plan to develop my queen knight next, if possible.
9. h3 Bxf3
White "puts the question" to my bishop. Will I retreat, or exchange? I choose to exchange, so I can continue with my plan of rapid, principled development.
10. Qxf3 Nbd7
Voila! I've developed my last minor piece. The opening has been a success so far, and I don't play this line, nor do I have any knowledge of its theory. Based on my principled play so far, though, I suspect black is doing completely fine.
11. Rd1
Now we enter what I would call the middle-game. Possible ideas for black: ...Qc7 (to get off the same file as white's rook, ...e6 (to clamp down on the d5 square), perhaps an ...e5 pawn push, after first checking to see if the tactics work ... black's rooks will probably go to e8 and d8 ... and so on, and so forth.
So you mean opening principles matter. Not exactly the opening itself. I mean, most players would have known the basic of opening pitfalls like scholar's mate after days of playing.
Openings definetly matter, but not learning theory. (It matters but not very much until you are more advanced). In this game, He pretty much lost in the opening. He blundered his knight and I maintained pressure on him the whole game.
https://www.chess.com/a/rf87ummpjuE6