to expect something always to happen or exist in a particular way, and to not think about any possible problems or difficultiesLosing my job taught me never to take anything for granted.
take it for granted (that): You can’t take it for granted that they’ll behave themselves.