2 Samuel 14:17

Then your maidservant said, ‘Please let the word of my lord the king be comforting, for as the angel of God, so is my lord the king to discern good and evil. And may the Lord your God be with you.’”

1 Samuel 29:9

But Achish replied to David, “I know that you are pleasing in my sight, like an angel of God; nevertheless the commanders of the Philistines have said, ‘He must not go up with us to the battle.’

2 Samuel 19:27

Moreover, he has slandered your servant to my lord the king; but my lord the king is like the angel of God, therefore do what is good in your sight.

2 Samuel 14:20

in order to change the appearance of things your servant Joab has done this thing. But my lord is wise, like the wisdom of the angel of God, to know all that is in the earth.”

1 Kings 3:9

So give Your servant an understanding heart to judge Your people to discern between good and evil. For who is able to judge this great people of Yours?”

1 Kings 3:28

When all Israel heard of the judgment which the king had handed down, they feared the king, for they saw that the wisdom of God was in him to administer justice.

Job 6:30

“Is there injustice on my tongue?
Cannot my palate discern calamities?

Proverbs 27:21

The crucible is for silver and the furnace for gold,
And each is tested by the praise accorded him.

Proverbs 29:5

A man who flatters his neighbor
Is spreading a net for his steps.

1 Corinthians 2:14-15

But a natural man does not accept the things of the Spirit of God, for they are foolishness to him; and he cannot understand them, because they are spiritually appraised.

Hebrews 5:14

But solid food is for the mature, who because of practice have their senses trained to discern 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
But Achish replied to David, “I know that you are pleasing in my sight, like an angel of God; nevertheless the commanders of the Philistines have said, ‘He must not go up with us to the battle.’
Proverbs 27:21
The crucible is for silver and the furnace for gold,
And each is tested by the praise accorded him.
Proverbs 29:5
A man who flatters his neighbor
Is spreading a net for his steps.

To discern

1 Kings 3:9
So give Your servant an understanding heart to judge Your people to discern between good and evil. For who is able to judge this great people of Yours?”
Job 6:30
“Is there injustice on my tongue?
Cannot my palate discern calamities?
1 Corinthians 2:14
But a natural man does not accept the things of the Spirit of God, for they are foolishness to him; and he cannot understand them, because they are spiritually appraised.