How did the Idea of the Mandate of Heaven help the Zhou Dynasty take over the Shang Dynasty?

The Zhou dynasty said the shang dynasty was fake