What is a basic need? Something that you can't live without. A bare minimum that you can live with: Clean water, food, internet access, education, safety, housing, healthcare, a mattress, a fan in the summer and a heater in the winter, a mean to get to work are all basic needs. In most parts of the US, a driveable old car that doesn't break down every month is a basic need; a new, very safe, very reliable car is a luxury. Old people might be able to argue a dog being a basic need. But young non-disabled people who can go out and make friends saying I absolutely have to have a dog, I think, is pushing the definition of a basic need way too far. A dog is definitely a luxury to me, especially in sub/urban areas.
Maybe your (and my) parents used to spend very little for a dog and we have to spend a fortune now, but it doesn't make having a dog a basic need. It's just as good of an argument as they used to dream about a projector and now you can get one for $200. The dynamics of having things changes: Being able to get something cheap doesn't make it a basic need.
I am speaking as a dogs lover and the only reason I don't have a dog now is that I don't think I can afford a dog.