Like attracts like. Two vibrations that are in harmony pull each other close.
We can also repel opposing vibrations through the law of repulsion and keep away situations and people vibrating on opposite levels.
When we shift our attention and energy, we alter what we attract into our space. We alter the level on which we are vibrating, and that attracts a different level of people, things, and situations.