If you check the total return price, they're actually doing better than the s&p 500.
total return for walmart: 223% (https://ycharts.com/companies/WMT/total_return_price)
total return for S&P 500: 221% (https://ycharts.com/companies/SPY/total_return_price)
the administration and process involved in setting dividends isn't very trivial either
and too often maintenance of dividend payments are placebos for lackadaisical areas of more important management responsibility
and it's too common for factions in the boardroom to be trying to serve and attract entirely different types of investors who would be better served with tracking stocks or demergers and so on
for some people any dividend unsupported by a very clear rationale is a red light but of course if you are doing in depth company analysis you may have all of this covered in your models and settlement and actions systems.
To be fair, they’ve been paying ~ 2% dividend yield that whole time. Still, if your comp is mostly in stock, those dividend payments hurt versus something like a buyback.