Psalm 139:23-24 NKJV
Search me, O God, and know my heart;
Try me, and know my anxieties;
And see if there is any wicked way in me,
And lead me in the way everlasting.
The Way Everlasting: Following God’s Path

My Notes
“Search me, O God, and know my heart; Try me, and know my anxieties; And see if there is any wicked way in me, And lead me in the way everlasting.” — Psalm 139:23-24, NKJV
We live in a world obsessed with filters. We carefully curate what people see on social media, we hide our flaws in professional settings, and sometimes, we even try to put on a brave face for ourselves. But at the very end of Psalm 139—after marveling at a God who wove him together in secret and who thinks about him constantly—David does something incredibly brave. He drops all his defenses. He essentially asks God to open a window into his heart and look inside.
This is one of the most vulnerable and mature prayers in the Bible.
Most of us naturally hide. We cover our flaws, justify our wrong attitudes, and quietly hope God won’t notice certain areas of our heart. But David does the opposite. He invites the search. This text reveals a heart of profound sincerity and self-distrust. David recognized a truth that we often forget: our hearts are deeply complicated, and we are entirely capable of self-deception. It is easy to spot the glaring sins of the world around us, but it is much harder to see the subtle, creeping “corrupt inclinations” hiding in the dark corners of our own souls. He wants to be known — fully known — because he trusts that God’s knowledge is always joined with love and mercy.
When David prays, “Search me, O God, and know my heart,” He’s not just asking for surface-level inspection. He wants a deep dive. He’s saying, “God, go into the hidden rooms of my soul — the secret thoughts, the buried fears, the selfish motives, the things I’ve excused for years.” When he says: “Try me, and know my anxieties.” He invites testing. He’s willing to go through the fire of circumstances if that’s what it takes for him to become aware of what’s really inside him. He wants God to expose his worries, his doubts, and his unspoken fears.
And then: “And see if there is any wicked way in me.”
This may be the hardest part. David is asking God to point out any path he’s walking that leads away from holiness — even if he doesn’t realize he’s on it. David understood something powerful: sin is deceitful. We can be blind to our own pride, bitterness, lust, greed, or self-righteousness. Only God can show us the truth.
Commentators often note that this is something of a dangerous prayer. It is serious business because it invites painful exposure and spiritual surgery. A good person desires to know the worst of themselves so they can be healed of it. If there is an unknown evil habit, a bitter attitude, or a compromised path, David wants it rooted out immediately—no matter how dear or familiar that wrong way has become.
But David doesn’t leave his soul exposed in the dark. The prayer ends with a beautiful pivot toward the future: “And lead me in the way everlasting.” David doesn’t stop at repentance. He asks for direction. “Once You show me what’s wrong, don’t leave me there — take my hand and lead me in the right way, the ancient way, the holy way, the way that leads to life.” This is the “good old way,” the ancient path of faith and godliness that outlasts the temporary pleasures of sin. It is a path that ultimately points to Christ—the true and only Way. When you pray this prayer, you are handing the steering wheel of your life over to a loving Shepherd, asking Him to guide you like a father guides his child, steering you away from the path of grief and leading you into endless peace.
Prayer
Abba, You already know me completely, but today I want to invite You to search me intentionally. Open the windows of my heart. Test my thoughts, examine my anxieties, and shine Your light on the dark corners I try to hide. If there is any hidden bitterness, pride, or compromise in me, give me the courage to face it and grace as You cut it away. Don’t leave me to my own devices. Take my hand and lead me down the good old way—the everlasting path that leads to life, peace, and eternal fellowship with You. I ask You for this in Jesus’ name, amen.
Key Takeaways
- True intimacy with God requires radical honesty.
- A Remedy for Self-Deception: We cannot fully see our own flaws. We need the Divine Counselor to examine us and show us our blind spots.
- Anxieties Matter to God: God doesn’t just look at our sins; He cares about our “anxieties” and wants to examine the root of our fears.
- The Everlasting Path: The way of holiness is ancient, enduring, and profitable. It stands in direct contrast to the way of the wicked, which ultimately perishes.
Cross References (NKJV)
- Psalm 1:6: “For the Lord knows the way of the righteous, but the way of the ungodly shall perish.”
- Jeremiah 6:16: “Thus says the Lord: ‘Stand in the ways and see, and ask for the old paths, where the good way is, and walk in it; then you will find rest for your souls…’”
- Jeremiah 17:9-10: “The heart is deceitful above all things, And desperately wicked; Who can know it? I, the Lord, search the heart, I test the mind, Even to give every man according to his ways, According to the fruit of his doings.”
- Job 23:10: “But He knows the way that I take; when He has tested me, I shall come forth as gold.”
Things to Think About
- Why do you think praying “Search me, O God” is considered a “dangerous” but necessary prayer for a growing Christian?
- What areas of my heart am I tempted to keep hidden from God right now?
- David asks God to “know my anxieties.” What specific worries or fears have been weighing heavily on your mind this week?
- Reflect on the concept of the “way everlasting” (the good old way). How does choosing the ancient path of godliness bring stability when the culture around you is constantly shifting?
Proverb for Today
Listen to counsel and receive instruction, That you may be wise in your latter days. There are many plans in a man’s heart, Nevertheless the Lord’s counsel—that will stand. Proverbs 19:20-21 NKJV
Daily Scripture
For we ourselves were also once foolish, disobedient, deceived, serving various lusts and pleasures, living in malice and envy, hateful and hating one another. But when the kindness and the love of God our Savior toward man appeared, not by works of righteousness which we have done, but according to His mercy He saved us, through the washing of regeneration and renewing of the Holy Spirit, whom He poured out on us abundantly through Jesus Christ our Savior, that having been justified by His grace we should become heirs according to the hope of eternal life. Titus 3:3-Titus 3:7 NKJV
Closing
“The Lord bless you and keep you; The Lord make His face shine upon you, And be gracious to you; The Lord lift up His countenance upon you, And give you peace.” Numbers 6:24-26 NKJV
Grace be with you. Amen.
Please enter your email and click subscribe to be notified whenever I submit a new post.

Summary of Commentaries:
These commentaries examine David’s vulnerable plea for divine scrutiny. Spurgeon and Barnes highlight David’s sincere desire for God to expose hidden sins and mental anxieties. Guzik emphasizes that while self-knowledge has limits, trusting God’s perfect love makes this dangerous prayer safe. Gill notes that the appeal defends David against false accusations, while Henry emphasizes a longing for “the way everlasting”—the enduring path of godliness leading to eternal life.
Commentaries:
Charles Spurgeon
“Search me, O God, and know my heart.” David is no accomplice with traitors. He has disowned them in set form, and now he appeals to God that he does not harbor a trace of fellowship with them. He will have God himself search him, and search him thoroughly, till every point of his being is known, and read, and understood; for he is sure that even by such an investigation there will be found in him no complicity with wicked men. He challenges the fullest investigation, the innermost search: he had need be a true man who can put himself deliberately into such a crucible. Yet we may each one desire such searching, for it would be a terrible calamity to us for sin to remain in our hearts unknown and undiscovered.
“Try me, and know my thoughts.” Exercise any and every test upon me. By fire and by water let me be examined. Read not alone the desires of my heart, but the fugitive thoughts of my head. Know with all penetrating knowledge all that is or has been in the chambers of my mind. What a mercy that there is one being who can know us to perfection! He is intimately at home with us. He is graciously inclined towards us and is willing to bend his omniscience to serve the end of our sanctification. Let us pray as David did, and let us be as honest as he. We cannot hide our sin: salvation lies the other way, in a plain discovery of evil, and an effectual severance from it.
“And see if there be any wicked way in me.” See whether there be in my heart, or in my life, any evil habit unknown to myself. If there be such an evil way, take me from it, take it from me. No matter how dear the wrong may have become, nor how deeply prejudiced I may have been in its favor, be pleased to deliver me therefrom altogether, effectually, and at once, that I may tolerate nothing which is contrary to thy mind. As I hate the wicked in their way, so would I hate every wicked way in myself.
“And lead me in the way everlasting.” If thou hast introduced me already to the good old way, be pleased to keep me in it, and conduct me further and further along it. It is a way which thou hast set up of old, it is based upon everlasting principles, and it is the way in which immortal spirits will gladly run for ever and ever. There will be no end to it, world without end. It lasts forever, and they who are in it last forever. Conduct me into it, O Lord, and conduct me throughout the whole length of it. By thy providence, by thy word, by thy grace, and by thy Spirit, lead me evermore.
______________________________________________________
Enduring Word
Search me, O God, and know my heart: David came to the God of perfect knowledge and constant presence, knowing He was also a God of love, and could be trusted to search him and to know him at the deepest levels. This is also an admission that God knew David better than David knew himself, and that he needed God to search and know him. (Guzik)
i. David took his theological understanding of God’s nature and attributes and applied it to his own personal discipleship. The nature and attributes of God were not mere theories; they were guides to David’s spiritual growth. (Guzik)
ii. David knew that he could not know his heart at its depths, so he asked God to know it. “The ultimate word of Greek philosophy, ‘Man, know thyself,’ was really valuable because it brought man face to face with the impossible.” (Morgan)
iii. “Very beautifully does the lowly prayer for searching and guidance follow the psalmist’s burst of fire. It is easier to glow with indignation against evildoers than to keep oneself from doing evil. Many secret sins may hide under a cloak of zeal for the Lord.” (Maclaren)
iv. “The rejection of evil arises from the psalmist’s spirit of commitment to the Lord and not from pride. This is clear from his prayer, asking for God to discern his motives and his actions.” (VanGemeren)
v. “I call upon you to be cautious in using this prayer. It is easy to mock God, by asking him to search you whilst you have made but little effort to search yourselves, and perhaps still less to act upon the result of the scrutiny.” (Melvill, cited in Spurgeon)
Try me, and know my anxieties: David wanted God to examine him and look for worry. Such anxieties could be evidence of unbelief or misplaced trust. (Guzik)
See if there is any wicked way in me: David opened his soul completely before God, asking if there were any unknown or unperceived sins. This showed how much he cared for holiness in his life, and how humble he was in recognizing that there could be an unperceived wicked way in himself. (Guzik)
i. When prayed sincerely, this is something of a dangerous prayer–worth, yet dangerous. “It is a serious thing to pray, because it invites painful exposures and surgery, if we truly mean it. Still, it is what every wise believer should desire.” (Boice)
ii. “The [King James Version] says ‘wicked way’; but the [Revised Version] margin gives ‘way of grief.’ We may be in a way that causes God grief, even though it is not what men might term a way of wickedness.” (Meyer)
Lead me in the way everlasting: David ended this majestic psalm by declaring his destination – the way everlasting. Trusting the God of complete knowledge and constant presence would bring David to everlasting life. The way of holiness prayed for in the previous lines was the way everlasting. (Guzik)
i. “We have been going in ways of grief. We desire to go in the way everlasting – the way of eternal life; the way which we shall never need to retrace; the way that touches the deepest life possible to the creature.” (Meyer)
ii. “The final words could be translated ‘the ancient way’ as in Jeremiah 6:16 (cf. Revised Standard Version mg., New English Bible); but the majority of translators would appear to be right in rendering them the way everlasting, in contrast to the way of the wicked which will perish.” (Kidner)
______________________________________________________
Albert Barnes
Search me, O God – The word “search” here is the same as in Psalms 139:1. See the notes at that verse. The psalmist had stated the fact that it is a characteristic of God that he “does” search the heart; and he here prays that God “would” exercise that power in relation to himself; that as God could know all that there is within the heart, he would examine him with the closest scrutiny, so that he might be under no delusion or self-deception; that he might not indulge in any false hopes; that he might not cherish any improper feelings or desires. The prayer denotes great “sincerity” on the part of the psalmist. It indicates also self-distrust. It is an expression of what all must feel who have any just views of themselves – that the heart is very corrupt; that we are liable to deceive ourselves; and that the most thorough search “should” be made that we be “not” deceived and lost.
And know my heart – Know or see all that is within it.
Try me – As metal is tried or proved that is put to a “test” to learn what it is. The trial here is that which would result from the divine inspection of his heart.
And know my thoughts – See what they are. The word rendered “thoughts” occurs only in one other place, Psalms 94:19. The idea is, Search me thoroughly; examine not merely my outward conduct, but what I think about; what are my purposes; what passes through my mind; what occupies my imagination and my memory; what secures my affections and controls my will. He must be a very sincere man who prays that God will search his thoughts, for there are few who would be willing that their fellow men, even their best friends, should know all that they are thinking about.
______________________________________________________
John Gill
Search me, O God, and know my heart,…. He had searched him and knew his heart thoroughly;
try me, and know my thoughts; he had tried him, and knew every thought in him, Psalm 139:1. This therefore is not said for the sake of God; who, though he is the trier of hearts, and the searcher of the reins, is indeed a discerner of the thoughts and intents of the heart at once, and knows immediately what is in man; and needs no testimony of him, nor to make use of any means in order to know him and what is within him: but David said this for his own sake, that God would search and make known to him what was in his heart, and try him by his word, as gold is tried in the fire; or by anything difficult and self-denying, as he tried Abraham; or by any afflictive providence; or in any way he thought fit to make him acquainted thoroughly with himself. His sense is this, that if he knew his own heart and thoughts, and the inward frame and disposition of his soul, it was as he had expressed it; that he was grieved with sinners, and hated those that hated the Lord, even with a perfect hatred, and reckoned them as his enemies; but if it was otherwise, he desired to be searched and tried thoroughly, that it might be discovered: and he might say this also on account of others, who charged him falsely with things he was not conscious of; that never entered into his thoughts, and his heart knew nothing of, and could not accuse him with; and therefore he appeals to the heart searching God, that he would so lay open things that his integrity and innocence might appear to all; see Genesis 22:1.
And see if [there be any] wicked way in me,…. Not that David thought himself free from wickedness, or that there was none to be found in his heart and life; and therefore said this in a boasting way, he knew otherwise; see Psalm 19:12; but he is desirous it might be thoroughly looked into and seen whether there was any such wicked way in him he was charged with; as that he had a design upon the life of Saul, and to seize his throne and kingdom, which never entered into his mind, 1 Samuel 24:9. Or, “any way of grief”; what tended to wound and grieve his own soul, or to grieve the hearts of God’s people; or to grieve the Holy Spirit of God; and which he ought to grieve for and repent of: suggesting, that upon the first conviction he was ready to relinquish any such wicked way, and express his abhorrence of it, and testify true repentance for it. Some render it, “the way of an idol”; because a word from the same root signifies an idol: every carnal lust in a man’s heart is an idol; and whatsoever engrosses the affections, or has more of them than God himself has, or is preferred to him, Ezekiel 14:4. The Targum is, “and see if the way of those that err is me;”
and lead me in the way everlasting; or, “in the way of old”: the good old way, the ancient path, in which the patriarchs before and after the flood walked, Or, “in the perpetual way”; the way that endures for ever; in opposition to the way of the wicked, that perishes, Psalm 1:6; or in the way that leads to everlasting life, to eternal peace and rest, and endless pleasures; as opposed to the way of grief and sorrow. It designs Christ, the true and only way to eternal life, the path of faith, truth, and godliness, Matthew 7:13; in which the Lord leads his people, as a father does his child, and as the shepherd his flock. The Jewish commentators, Aben Ezra and Kimchi, interpret it the way of the world; and take it to be the same with the way of all flesh, death, or the grave; which is called man’s world, or home, Joshua 23:14; and make the sense to be this: If thou seest any evil in me, take me out of the world; kill me at once, let me die But this seems to be foreign from the text; for the word “lead” designs a blessing or benefit, as Calvin well observes. The Targum is, “lead me in the way of the upright of the world;” the way in which upright men walk.
______________________________________________________
Matthew Henry
He appeals to God concerning his sincerity, v. 23, 24.
1. He desires that, as far as he was in the wrong, God would discover it to him. Those that are upright can take comfort in God’s omniscience as a witness of their uprightness, and can with a humble confidence beg of him to search and try them, to discover them to themselves (for a good man desires to know the worst of himself) and to discover them to others. He that means honestly could wish he had a window in his breast that any man may look into his heart: “Lord, I hope I am not in a wicked way, but see if there be any wicked way in me, any corrupt inclination remaining; let me see it; and root it out of me, for I do not allow it.”
2. He desires that, as far as he was in the right, he might be forwarded in it, which he that knows the heart knows how to do effectually: Lead me in the way everlasting. Note,
(1.) The way of godliness is an everlasting way; it is everlastingly true and good, pleasing to God and profitable to us, and will end in everlasting life. It is the way of antiquity (so some), the good old way.
(2.) All the saints desire to be kept and led in this way, that they may not miss it, turn out of it, nor tire in it.
______________________________________________________
Miscellaneous Comments
How beautiful is the humility of David! He cannot speak of the wicked but in terms of righteous indignation; he cannot but hate the haters of his God; yet, he seems immediately to recollect, and to check himself—”Try me, O Lord, and seek the ground of my heart.” Precisely in the same spirit of inward humility and self-recollection, Abraham, when pleading before God in prayer for guilty, depraved Sodom, fails not to speak of himself as being dust and ashes: Gen 18:27.
—James Ford, 1871.
“The way everlasting.” Way of eternity, or of antiquity, the old way, as Jer 6:16; meaning the way of faith and godliness, which God taught from the beginning, and which continueth for ever; contrary to “the way of the wicked,” which perisheth: Psa 1:6.
—Henry Ainsworth.

- Exploring the Beauty of Psalms: Insights and Commentaries
- Monthly Breakdown of Our Blog Content
- Psalms Commentary: Faith and Inspiration

Leave a Reply