Some people seem to confuse obedience as evidence of salvation with obedience as the cause of salvation. This is an example of a more general logical error that mixes up correlation and causation.
A picture is worth a thousand words:
xkcd: Cell Phones
This entry is a response to Fabs Harford's read-worthy blog post titled
Obedience: An unfortunate casualty of the 'gospel'