Your ‘friend’ sounds insecure to me. What is there of substance to his core as a human being? Perhaps your ‘friend’ has had advantages that you have not had. That does not make him a winner or you a loser.
You have more potential than that. A man of substance doesn’t base himself on his vehicle, his money, or his family. They are not who he is, and they are not who YOU are.
Your ex and your backstabbing friend deserve each other. YOU deserve better.