True obedience is the refusal to compromise in any regard our relationship with God, regardless of the consequences.
Prayer will become effective when we stop using it as a substitute for obedience.
If we try to obey without faith, we get nowhere. If we try to have faith without obedience, it ends in nothing.
To escape the error of salvation by works we have fallen into the opposite error of salvation without obedience.
The KEY to disciplining ourselves in the area of obedience is always keeping in mind to whom we are being obedient.