Richard Bach said this quote

Like attracts like. It'll surprise you as long as you live. Choose a love and work to make it true, and somehow something will happen, something you couldn't plan, will come along to move like to like, to set you loose, to set you on the way to your next brick wall.