Defeating the stock market is the Holy Grail for several investors and investment fees is one of major obstacles traders face. If for instance you invest in an S&P 500 index fund, your investment will perform identically to the S&P 500 and investment fees will be subtracted from those returns, preventing you from defeating the market.