Odd question 😅

Is a yeast infection a sign of early pregnancy? I NEVER get them,and the only time I have had one was with my last pregnancy(that ended up in miscarriage on Christmas) and then with my 4 year old when I found out about her. I heard it’s due to hormones increasing and what not,or am I hearing things wrong?