If your post is an accurate reflection of the situation, then
you already know you're much wiser and matured in your thinking
compared to his... That in itself is already a sweet revenge, don't
you think so?
There are reasons why people act in a certain ways. Some of the
things you said reflects an insecurity in his life, that's why he's
putting you down. He's feeling inferior deep down but he dare not
say, instead he use ways to put you down so you feel inferior to
him. Come to think of it, he did succeed to a certain extent
because you're affected by it.
My advise is, there's nothing much you can do about another
person's life if they do not want to change. But there's alot you
can do about your own life, so continue to focus on your own life
instead of caring about what he's trying to do to your life.
If someone stolen my things, it's easier for me to focus on
my side and secure my things so next time it won't happen again. It
won't help if we keep pointing fingers and ends up still anyhow put
valuables around and then it get stolen again and again.
I think you have a smart matured personality so keep it up. It's
your life, you have full control over it. Other people's life, not
much you can do, but over time, they may grow up, hopefully so.