you were acting so serious about a joke, so he suspected you didn't know what a joke was, so he gave you a definition. You should be thanking him for how much you learned.
learn to know in the interest everything toxic is a joke, unless you did something bad that upsets them. You didn't upset me, you don't deserve to be "insulted".