It refers to two past actions, yours and hers. Yours was dependent on hers. If she didn't spend so much, you wouldn't be poor, you wouldn't get angry if she didn't snore, etc.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.