Am I wrongly upset?

SRR

I was pulled into a private meeting with my boss Monday to tell me that a new position was being created and himself and other supervisors thought I'd be a good fit and asked me what I thought. I told him I would absolutely love to have that position, and his response was, that he needed to run the new position past the president to see if he was okay with the new position being created and I'd hear from him soon.

Well today, EVERYONE in the company received an email from the president that said the position I was specifically asked if I wanted was going to be having open interviews the following week, and if anyone is interested to apply internally. I was floored. I thought this position was mine because I was given the impression it was.

I would be okay with it if my boss would've given me a heads up that the president was wanting to open it to everyone. Instead I sat there reeling reading the message over and over wondering if I was passed over because of my current pregnancy or if the president just didn't think I was good enough.

A little backstory with my job: I've had promotions dangled and taken away in the five years I've worked there, and not once has a woman been promoted internally in all the departments and all the years I've worked there.

I'm 20wks pregnant and just exhausted with playing cat and mouse and at this point just want to stick it out until my maternity leave is over and go work for the company my husband owns.