written in the stars idiom
冥冥之中由天所定的
If you believe that something is written in the stars, you believe that it will be made to happen by a force that controls the future.
It was written in the stars that they would meet and fall in love. 上苍注定让他们相遇、相爱。