Energy time relationship from an observer in space

So here we have the simple equation: E[tex]\uparrow[/tex] T[tex]\downarrow[/tex]

This can also be stated by saying that the more massive (energetic) an object in space is, the less time it will exist for.

But if time passes slower in areas of space near more massive bodies, wouldn't an observer near Body B notice that even though Body A has less mass, it exsists just as long in space as Body B with more mass, because the time passes slower around body B (where the observer is)?

Or is one of these exponential and the other linear?

Sorry for being extremely bad at wording my questions lol, if nobody understands what I'm trying to say it's ok.