Exaclty ,continuing with MG's train of thought; If God "noticed" you're so used to sb/sth that you do not recognize their/its true value any more and do not show that you are grateful , He( or may be SHE:) would just take it away from you or in other words He would deprive you of that "anything" be it in both physical or spiritual sense.
So taking sth for granted is not necessarily synonymous with taking sth for granted :)