I’m not poor but this always helps everyone. Wait for a while before you buy the thing off your shopping list. Wait for a week and reconsider whether you indeed need it.
If the answer is still yes, buy it. It is a must do for expensive things. Never break this rule for any massive purchase like a car or something!