A corruption of the phrases “oh
boy”, “hoo
boy”, and “boy howdy”.
Sometimes it is also used as an adjective or noun, although as either it doesn’t have much of a meaning.
Pronounced often as “HOO-BEE”, sometimes with the “Hoo” extended a
bit longer if the speaker is particularly exasperated.