he said he’s only with me because ...

my boyfriend of 2 years ... when i ask him why is he with me he always brings up the fact that im a virgin ...

Basically saying he’s only with me because i’m a virgin ... should i stay with him or how should i approach my confusion ...