Where did black go wrong?
Sort:
6...Qd6 is bad for a whole host of reasons. You need to develop Kingside pieces first and not plan to castle on Q-side
7...Ne4 does not develop efficiently. 7...e6 or g6 were better