2 Samuel 14:17

Your servant also thought, 'May the word of my lord the king {bring rest}, for as an angel of God, so [is] my lord the king, {to sense what is good and what is bad}.' May Yahweh your God be with you."

1 Samuel 29:9

And Achish answered and said to David, "I know that you [are] good in my eyes, like an angel of God! However, the commanders of [the] Philistines have said, 'He must not go up with us into the battle.'

2 Samuel 19:27

But he slandered against your servant to my lord the king. My lord the king [is] like the angel of God; {do as you see fit.}."

2 Samuel 14:20

In order {to change the situation}, your servant Joab did this thing. But my lord [has] wisdom, as the wisdom of an angel of God, to know all that [is] on the earth."

1 Kings 3:9

Give to your servant a listening heart to judge your people, to discern between good and bad, because who is able to judge this, your difficult people?"

1 Kings 3:28

When all of Israel heard the judgment that the king had rendered, they {stood in awe} of the king, because they realized that the wisdom of God was in him to execute justice.

Job 6:30

Is there injustice on my tongue? Or can my palate not discern calamity?

Proverbs 27:21

A crucible [is] for the silver, and a furnace for the gold, but a man [is tested by] the mouth of him who praises him.

Proverbs 29:5

A strong man who flatters his neighbor is spreading a net for his feet.

1 Corinthians 2:14-15

But the natural man does not accept the things of the Spirit of God, for they are foolishness to him, and he is not able to understand [them], because they are spiritually discerned.

Hebrews 5:14

But solid food is for the mature, who because of practice have trained their faculties for the distinguishing of both good and evil.

Treasury of Scripture Knowledge

Summary

Then thine handmaid said, The word of my lord the king shall now be comfortable: for as an angel of God, so is my lord the king to discern good and bad: therefore the LORD thy God will be with thee.

Bible References

As an angel

1 Samuel 29:9
And Achish answered and said to David, "I know that you [are] good in my eyes, like an angel of God! However, the commanders of [the] Philistines have said, 'He must not go up with us into the battle.'
Proverbs 27:21
A crucible [is] for the silver, and a furnace for the gold, but a man [is tested by] the mouth of him who praises him.
Proverbs 29:5
A strong man who flatters his neighbor is spreading a net for his feet.

To discern

1 Kings 3:9
Give to your servant a listening heart to judge your people, to discern between good and bad, because who is able to judge this, your difficult people?"
Job 6:30
Is there injustice on my tongue? Or can my palate not discern calamity?
1 Corinthians 2:14
But the natural man does not accept the things of the Spirit of God, for they are foolishness to him, and he is not able to understand [them], because they are spiritually discerned.