You played absolutely fine, way in front and I just had luck in the end. Only “fault” I saw was that you kept buying cards that did not improve your deck. Every card you acquire lessen the chance for the other cards to appear, so often it is better to not buy anything (as I did a lot in our game).
Not trying to be a smart-ass, it often just depends on the luck of the draw if a decision was good or not