Walmart (NYSE: WMT) and Costco Wholesale (NASDAQ: COST) remain two resilient dividend stocks that have managed to outperform the broader market. But in the case of Walmart and Costco, it's actually their biggest advantage because it allows them to offer more value and undercut the completion -- relying on a high volume to make up for the lower profits. Walmart stands out as the safer choice and is a better all-around value, whereas Costco is a faster-growing company that should still do very well during times of inflation because it has an incredibly loyal customer base.