Depends on the area. Some walmarts are like any other grocery store (but with a lot more than groceries), but others are hellish. It depends how many undesirables live around it.
Where I live, the main options are walmart or publix. Publix has a nicer bakery and deli. But outside of that the food quality isn't really any different with small exceptions like cheese selection. Walmart is a good bit cheaper.
However I still overpay to go to Publix because everyone is white and polite. The walmart near me still mostly has white people, but they're louder and drag more of their shitty kids along.