Why does a woman work ten years to change a man, then complain he's not the man she married?

Why does a woman work ten years to change a man, then complain he’s not the man she married?
– Barbra Streisand