So far we have:
Psalm 1 and Proverbs 1:1-7
Psalm 2 and Proverbs 1:8-14
Psalm 3 and Proverbs 1:15-19
Psalm 4 is another psalm of lament in which the psalmist calls on the LORD for help. The later heading calls it a psalm of David, and we can read it that way or not read it that way.
The psalmist asks for God to answer his prayers when he calls. The LORD alone can make the psalmist dwell in safely (4:8). He also intercedes for his people and asks for God to let his face shine on them (4:6).
The psalmist also tells his people not to sin (4:4) and not to turn the leader's honor into shame (4:2). God has set apart the godly for himself (4:3).
Now wisdom begins to speak. She calls on the simple to heed her advice. Wisdom will mock those who do not heed her advice.