Tea and coffee in moderation are both good.
Tea is replete with EGCG (epigallo-catechin gallate) and Coffee has chlorogenic acid galore, diterpenes, plus caffeine a beneficial nootropic if taken in moderation (tea has caffeine as well, in lesser amounts).
Green tea is probably best, whereas Arabica coffee is indisputably better for health, less caffeine, less aggressive compounds.
Tea, if taken in ample amounts, may provide more caffeine than coffee taken in moderate amounts.
I hope you are right mccoy. All I have to add at this time is that everyone - including me - have a remarkable ability to rationalize when we would like to continue a habit.