Do you have to be rich to do this

My parents booked a vacation to Madeira (from Canada) on a whim 5 days ago and we’re flying out tonight for a week, and I was telling a friend and she was like “oh so you’re rich then” and I said how does that make us rich and she said “most people have to save up for a vacation, they can’t just book one spontaneously”

I thought most middle class people would have enough in the bank to go whenever they want, the time that you book it at doesn’t really matter.