But the upright are an abomination to the wicked.”
We should trust in Yahweh. Do not fear others. Many seek the favor of a ruler or king, but justice comes from Yahweh. The unjust are an abomination to the righteous and vice versa. So never the twain shall meet.
At the heart of wisdom is trust in Yahweh. You are to trust God with your whole heart. Do not rely on yourself for insight. Acknowledge God in all ways. He will lead you down the right path. Do not pretend to be wise in your own eyes. Fear God. Turn away from evil. This is straight forward advice that will bring healing and refreshment to your body.
David wanted a quick answer to his prayer. His spirit was failing. He did not want Yahweh to hide his face because then he would go down into the Pit. He wanted to hear the steadfast love of Yahweh in the morning. David put all his trust in Yahweh so that Yahweh might teach him the way to go. He had lifted up his soul to Yahweh.
The happy or blessed people trust in Yahweh. They are not proud. They do not go after false gods. Yahweh has multiplied them with his wondrous deeds. What he has done cannot be compared to anyone else. It would be impossible to count all of the things that Yahweh has done for his happy and blessed people who have faith in him.
In the face of evil, trust in Yahweh, your God. Do good and then you will live in the Promised Land in security. The land was key to Jewish thought, especially the Promised Land. If you delighted in Yahweh, he would give you all the desires of your heart.