@Sholmes49 the advice to
@findanegg is an endgame book.
@ClujMahal 5...cxb5? is a blunder and should be 5...b4. That is not a lack of opening theory, it is a lack of thought. Without knowing any opening theory and just thinking "What will white do after I capture 5...cxb5?", the threat of 6 Qf3 is not that difficult to find. No amount of opening theory can substitute own thought. However much opening theory you know, there always comes some point when you are on your own. If you need memory as you cannot discern threats in the opening, then you will be lost in the middle game as you will need to be able to discern far subtler threats without any memorized help.
As Nimzovich put it:
"Opening theory is ballast"
Endgame study is useful even if you never reach an endgame. It teaches you to play chess.
As Capablanca put it:
"The opening is to prepare the middle game;
the middle game is to prepare the endgame."
In the endgame you learn how to play, what the value of the pieces really is, what positions are strong and weak.