Preflop
I like the 3-bet, but unless the Villain was especially agro, I would strongly consider folding to his 4-bet. I know, it sounds nitty, but you are out of position, and TT is in terrible share against a range like QQ+, AK, which a 4-bet often represents.
Flop
What do you even beat on this A high flop, that would 4-bet pre? I know, you are getting a good price, but if you have two outs, its not good enough, so just fold.
Turn
At least you folded now, but I think, it would have been better to fold at an earlier point in the hand.