If this person/ place/ thing doesn’t serve your higher purpose why are you investing time/ energy/ effort into it/ them?
Built into this question is the assumption that you know what your higher purpose is.
If you don’t, all actions become arbitrary; all uses of time become fungible.
If you want to arrive at a certain type of destination, you need to point the GPS of your actions towards it.
And you need to know well enough not to get off every exit of the highway while you’re on your way.
Random wandering—random uses of time—can only get you, by definition, nowhere in particular.