"Thus in a sacred song to be sung in the public assemblies of his people, in the presence of the court—priests and judges, princes and men of war—and which would preserve to the latest generation the knowledge of his fall, the king of Israel recounted his sin, his repentance, and his hope of pardon through the mercy of God. Instead of endeavoring to conceal his guilt he desired that others might be instructed by the sad history of his fall. PP 725.1"
"Then will I teach transgressors thy ways; and sinners shall be converted unto thee."
EGW describes David's desire to instruct others through his repentance, which aligns with the sentiment expressed in Psalm 51:13 about teaching transgressors.
"David's repentance was sincere and deep. There was no effort to palliate his crime. No desire to escape the judgments threatened, inspired his prayer. But he saw the enormity of his transgression against God; he saw the defilement of his soul; he loathed his sin. It was not for pardon only that he prayed, but for purity of heart. David did not in despair give over the struggle. In the promises of God to repentant sinners he saw the evidence of his pardon and acceptance. PP 725.2"
"Create in me a clean heart, O God; and renew a right spirit within me."
The EGW passage directly references David's desire for purity of heart and repentance, which is explicitly expressed in Psalm 51:10. It's a clear and direct allusion.
"If we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness."
The EGW passage describes David's repentance and God's willingness to forgive and cleanse, which directly reflects the principle stated in 1 John 1:9 about confession and forgiveness.
"“For Thou desirest not sacrifice; else would I give it: Thou delightest not in burnt offering. The sacrifices of God are a broken spirit: A broken and a contrite heart, O God, Thou wilt not despise.” Psalm 51:16, 17 . PP 725.3"
"For thou desirest not sacrifice; else would I give it: thou delightest not in burnt offering."
The EGW passage directly quotes Psalm 51:16.
"The sacrifices of God are a broken spirit: a broken and a contrite heart, O God, thou wilt not despise."
The EGW passage directly quotes Psalm 51:17.