“The logic is simple: If you are going to be a net buyer of stocks in the future, either directly with your own money or indirectly (through your ownership of a company that is repurchasing shares), you are hurt when stocks rise.”
From the 2011 letter to Berkshire shareholders (dated February 2012), in the section "Intrinsic Business Value".
Berkshire Hathaway shareholder letter (for 2011) (opens in a new tab)