Breathable Underwear?

Sabrina

So I bought these Hanes breathable underwear which is like 90 percent polyester and I'm scared to wear them all the time because I don't want to get a yeast infection because it isn't cotton. But there's holes everywhere in the underwear to make it breathable except for the crotch part, can I still wear it?