I'm pleased it has worked out for you. When I read your comment "The more I do the less my partner contributes", I had a real sense of "been there, done that" and am pleased that (unlike in my comparable circumstance) you were able to get the relationship back on track. In my case, I tried my best, it didn't work, and I have moved on, happily.
I think that's the trick - if you put in your best effort, then whether or not the relationship survives or dies, whatever transpires will be the right outcome.
"Do not force others, including children, by any means whatsoever, to adopt your views, whether by authority, threat, money, propaganda, or even education." - Ven. Thich Nhat Hanh
"The uprooting of identity is seen by the noble ones as pleasurable; but this contradicts what the whole world sees." (Snp 3.12)
"To argue with a person who has renounced the use of reason is like administering medicine to the dead" - Thomas Paine