Just because the Bible says people should do something doesn't mean they do. See thou shalt not kill, thou shalt not steal, thou shalt not bear false witness...
And there's a consequence when you kill, steal and bear false witness. Just like the marriage won't work if Christ isn't in that marriage.