I am not sure what your point is. It is possible to believe in God, and yet not obey him; and it is also possible not to believe in God, or not know the true and living God, but still obey him, or do what is good and right out of a good conscience:What is the source of Abraham's belief and trust (and then obedience)? Abraham? his own intellect?
Adam and Eve knew no sin, had the Holy Spirit within them, and yet were deceived and did not believe what God had said and disobeyed.
6 Who will render to every man according to his deeds:
7 To them who by patient continuance in well doing seek for glory and honour and immortality, eternal life:
8 But unto them that are contentious, and do not obey the truth, but obey unrighteousness, indignation and wrath,
9 Tribulation and anguish, upon every soul of man that doeth evil, of the Jew first, and also of the Gentile;
10 But glory, honour, and peace, to every man that worketh good, to the Jew first, and also to the Gentile:
11 For there is no respect of persons with God.
12 For as many as have sinned without law shall also perish without law: and as many as have sinned in the law shall be judged by the law;
13 (For not the hearers of the law are just before God, but the doers of the law shall be justified.
14 For when the Gentiles, which have not the law, do by nature the things contained in the law, these, having not the law, are a law unto themselves:
15 Which shew the work of the law written in their hearts, their conscience also bearing witness, and their thoughts the mean while accusing or else excusing one another; )
16 In the day when God shall judge the secrets of men by Jesus Christ according to my gospel.
What that is saying is that it is possible for the Jews, who have the Law, and thus know about God, to transgress the Law, and be condemned; while at the same time it is possible for the Gentiles, who do not have the Law, and don't know the true and living God, to do the works of the Law out of a good conscience, and thus be approved and accepted of God.