Hi. I have similar problems of not making good moves during mid-game. That's why I always play defense. Even when I play White, I still make conservative moves. No risks taken.
Attatcking is rather important in chess. Notice (from the table of contents) that it is a subject that gets a chapter (8) in the beginner book, A COMPLETE CHESS COURSE by Antonio Gude: "... 1 The Basic Rules of Chess 7 ... 2 Your First Chess Games 23 … 3 Openings and Basic Principles 33 ... 4 Putting Your Pieces to Work 52 ... 5 Strategy and Tactics 76 ... 6 Endgame Play and Further Openings 106 … 7 Combinations and Tactical Themes 128 ... 8 Attacking Play 163 ... 9 Your First Opening Repertoire 194 …"
http://www.gambitbooks.com/pdfs/A_Complete_Chess_Course.pdf
Avoiding attack may work at first, but, if you progress, you will, with increasing frequency, be defeated by players who have been practicing their attacking technique.
Hehe, I once saw a game where a team scored twice even tho shooting at the rival's goalkeeper but once. Such things don't happen in chess.