The correct form is"百年修得同船渡,千年修得共枕眠"。
The direct translation is"It takes a hundred years to stay in a ship together,and it takes a thousand years to sleep on the same bed。"
I remember it originated from the Buddhism.It means we meet ,we get to know each other,we date,we get married,all these things are because of fate and destiny.