This is actually a good advice. Just remember to rebalance (not too often; in my opinion once a year is a good frequency) to buy more of what is low and sell some of what is high.
I'd phrase that more specific by saying "by selling what is too high". If something is much higher than when you bought it, but the reasons you had for buying it in the first place are still valid, then you should keep it.