The passage in Corinthians doesn’t apply to the second scenario. Sounds like you’re looking to justify any reason for leaving.
If the husband is despised by thevwife that he’s due no care or affection, he should leave. I have no problem with that.