2 Samuel 14:17

Then thy handmaid said, Let the word of my lord the king bring rest; for as an angel of God, so is my lord the king to discern good and evil; and let the LORD thy God be with thee.

1 Samuel 29:9

And Achish answered and said to David, I know that thou art good in my sight as an angel of God; notwithstanding, the princes of the Philistines have said, He shall not go up with us to the battle.

2 Samuel 19:27

And he has slandered thy slave unto my lord the king, but my lord the king is as an angel of God; do therefore what is good in thine eyes.

2 Samuel 14:20

to bring about this form of speech thy slave Joab has done this thing; but my lord is wise, according to the wisdom of an angel of God, to know that which is done in the earth.

1 Kings 3:9

Give, therefore, thy slave a hearing heart to judge thy people that I may discern between good and evil, for who is able to govern this thy so great a people?

1 Kings 3:28

And all Israel heard of that judgment which the king had judged, and they feared the king, for they saw that the wisdom of God was in him, to judge.

Job 6:30

If there is iniquity in my tongue or if my taste cannot discern the torments.

Proverbs 27:21

As the fining pot tries the silver and the furnace the gold; so the man is tried by the mouth of whoever praises him.

Proverbs 29:5

The man that flatters his neighbour spreads a net for his feet.

1 Corinthians 2:14-15

But the natural man does not perceive the things of the Spirit of God, for they are foolishness unto him; neither can he understand them because they are spiritually discerned.

Hebrews 5:14

But strong food belongs to those that are perfect, even those who by reason of use have their senses exercised to discern 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 thou art good in my sight as an angel of God; notwithstanding, the princes of the Philistines have said, He shall not go up with us to the battle.
Proverbs 27:21
As the fining pot tries the silver and the furnace the gold; so the man is tried by the mouth of whoever praises him.
Proverbs 29:5
The man that flatters his neighbour spreads a net for his feet.

To discern

1 Kings 3:9
Give, therefore, thy slave a hearing heart to judge thy people that I may discern between good and evil, for who is able to govern this thy so great a people?
Job 6:30
If there is iniquity in my tongue or if my taste cannot discern the torments.
1 Corinthians 2:14
But the natural man does not perceive the things of the Spirit of God, for they are foolishness unto him; neither can he understand them because they are spiritually discerned.