Is this true?

Hey, guys.... it's my first time posting here in this new alt account...

I just wanted to get an answer for a question I'm so confused about these last few days

I heard from my friends, classmates and etc....that it's a red flag for a man not having any past relationships

Like , if the man didn't have any past relationships it means he's a creep or a bad guy that's why he's still single

Is it true ?...Do majority of girls really think that or is it just a small group of them?