There's a lot of truth to that. I find that I can't hunt happiness down, but am surprised at how often it has ambushed me. On the other hand, I can pretty much grab a handful of misery whenever I look for it.
I don't know exactly how you attract happiness. Gratitude maybe. Trying to create it for others and hoping to catch some of the backwash. Reasonable expectations. Offloaded baggage. Keeping busy, even if it isn't exactly what you think you were meant to do. Maybe simply accepting that life is hard and finite and contingent, and there's no use being a wimp about it.
I'm just saying.