@tamara123454,
While not horribly unnatural, I'm afraid I have to agree that it doesn't sound quite natural, nor does B's sarcasm sting enough.
Unless there is an aspect of one or both of the characters that would lead them to speak in this way, I would suggest the following
A: Obviously, she only loves you only for your money. If you sold your car and quit your job, she'd be gone in a minute.
B (being sarcastic): Well you're the authority in dating. I now realize that every woman I've ever met or fallen in love with was either a sociopath or a gold digger.
There's a problem here as well in that B has taken this one comment of A to respond to in terms of all of his girlfriends. As it is, there is a vague implication that A has given B such "advice" in the past, but it's not clear.
I think you need to somehow tie into the exchange (without overwriting) some reference to how this advice about the one girl can relate to B's entire experience with dating. The following are suggestions made without a whole lot of thought:
A: Obviously, she only loves you only for your money. If you sold your house and quit your job, she'd be gone in a minute.
B (being sarcastic): Well you're the authority on dating, and there's no reason why any decent woman would mind me quitting my job and selling everything I own. I now realize that every woman I've ever met or fallen in love with was either a sociopath or a gold digger.
or
A: Obviously, she only loves you only for your money. If you sold your car and quit your job, she'd be gone in a minute.
B: This is what you always tell me.
A: Because it's always true.
B (being sarcastic): Well you're the authority on dating. I now realize that every woman I've ever met or fallen in love with was either a sociopath or a gold digger.
I'm not thrilled with either suggestion but I hope they illustrates the point I'm trying to make.
Ultimately, you know you're characters and while it certainly worth asking advice from others, how they speak in your story needs to follow naturally from the personalities you've created. By comments are based on the very limited profile you've given us. I've assumed they are educated white men from at least a middle class background.