'You are a joke' is a phrase used by someone who believes you to be inferior to them. To belittle,
disrespect,
embarrass, and humiliate you. To make you feel as though
you are stupid, unimportant, or unwanted, etc. and make themselves feel supirior to you.