Janeway wasn't being a bitch. She treated Q like he was dangerous troublemaker, Sisko did the same.
I'm 70 years away from home. A guy arrives who, with the flick of his fingers, could get me home. I tell him to get off my ship.
Yeah, I was wrong. Definitely not a blown opportunity.