Is having a similar level of education important in a relationship?

I was dating a guy that is a doctor, He told me that He would not date me if I dont have a degree (I have 2, about to start my third)