Companies can distribute money via dividends or via share buybacks where they buy back a number of shares, thereby boosting up the price of remaining shares, instead of paying it out as dividends - the end result to your gains are the same (but more tax efficient for those still accumulating), you just sell down a bit of what the shares increased in price by.
Dividends are arbitrary, they have no actual meaning relating to your total return. It's like saying you will only buy companies with green in their logo.