The reason we build a portfolio is that risks get diversified. All stocks do not move up and down at the same time. At some times some stocks perform and at other times others perform. We sell a company if our thesis of investment has gone wrong or valuations have become excessive