Thanks for your nice answer, Gillnetter.
It was just an example and by chance it came to be about buying clothes. Actually, I'm looking for a general term applicable to other situations as well, like:
When I was a child, my parents never bought any toys for me. Now I'm a parent and I avoid buying toys for my child.
Because I couldn't have what I liked, my child can't have his / her favorites. either. I think you must have seen such cases around you, or at least heard about them.
It must be a kind of illness. Is there any general term?