The mirror principle

What is the mirror principle? How does it work? How does it affect our lives?
In any given moment, our external world reflects our internal world. But we can easily lose sight of this and assume bad things happen because of “bad luck” or “karma.”
So, how can we keep our heads in challenging situations? And how can we become more aware of our internal world?