To find or encounter something or someone by accident, without looking for it.
"While hiking in the hills, we happened upon the ruins of an ancient church."
I happened upon a copy of Orwell's 'Down and Out in Paris and London' in a second-hand bookshop.
— Commonly cited type of anecdote in literary memoir writing; representative of established idiomatic usage