It is when you personify an abstract concept. It is often seen as a fallacy, but it can have literary uses.

An example is how The Map Is Not the Territory.