I've never had that attitude. I've never taken anything for granted, and I'm very aware that some bizarre twist of fate could take away all those things I'm accustomed to overnight. Nothing is guaranteed, nothing is cast in stone, life can change utterly in a moment.
I think taking things for granted is a good definition of entitlement. Instead of thanking your lucky stars for being so fortunate, you feel you have what you have because you're entitled to it.
It makes a big difference if your life only took a turn for the better as you got older. If you've always had a privileged life and never had to struggle for a step upward, then you're more likely to take things as a matter of course.
If your early life was deprived or constrained, then you realise you can't take anything for granted and when things improve you always have a sense that life is precarious, fragile, that nothing is as solid as it seems.
In my late twenties I didn't have much money, I lived in a spartan bedsit, I had few friends and my father wouldn't speak to me. As my life gradually brightened over the years, I enjoyed the change but I was never complacent about it. I knew so much was down to luck or being in the right place at the right time.
Your life is more precarious than you think. As a deadly virus has been reminding us for many months.