Is he too immature for a relationship?

So I've been dating this guy for a while and I'm wondering if he's too immature for a relationship. I'm older than him but I know people who are younger than me happily married so I feel like age shouldn't have anything to do with it. I just turned 31. He's 22. But of a gap but we are both adults. Don't side eye me because you know damn well you wouldn't bat an eye if roles were reversed. Anyway He loves to make jokes about himself and his appearance. But it's in a way that he like needs to be to say it's not true. He's so insecure and I just don't find insecurity attractive. He's a nice guy but I don't know if he's mature enough to be dating. Example, we were working out at the YMCA together. I decided I wanted to go swimming. He said he doesn't really like swimming because he is insecure about his feet. He has that condition that makes you pick skin off your feet and stuff. I just don't find the lack of confidence attractive. Like come on man! I'm a woman and I like to feel protected. How is he going to do that if he isn't even confident in himself which I've made comments on. Another time we saw each other he said I looked beautiful which I thanked. He said he hadn't been feeling good because he's on medication and it's caused some weight gain and he's trying to feel comfortable in his own skin. Like I get that but why is he telling me? What does he want me to do about that? Be like "Oh I think you look great!" This is the early stages. He should be trying to woo me. Not the other way around. I just feel he's too immature and isn't ready for a relationship. What do you ladies think? Am I waisting my time?

@Nadia I build up a man who's serious about me. We are in the early stage. It's his job to win me over. Not going to be dating a guy but giving him wifey privileges