My friend thinks he’s ugly and keeps bringing me into it, is it unreasonable to get annoyed at this?

He’s a cool guy and all but bruh this guy doesn’t think he’s attractive and clearly thinks I’m even uglier. When he sees pretty girls he’s like “man guys like us can only dream of getting her” or “it’s easier to get a girl when your handsome, guys like us need to bring other things to the table” bro speak for your damn self

I’m not saying I think I’m the best looking dude ever but I have enough self confidence to know a woman can still find me attractive, this shit he does just lowers my confidence for no reason. If that was me I’d only talk about myself no matter how “bad” my friend looked