This next verse tells us of the importance of passing on knowledge of God to the next generation. Notice the word "shall", is used twice in this verse 4. God is not saying we have to struggle to pass on knowledge about Him. It never ceases to amaze me to see societies where God has essentially been ignored for at least a generation. Yet witnesses for Jesus manage to work their way into that society to teach another generation about His love.
 I will speak of the glorious honour of thy majesty, and of thy wondrous works.  And men shall speak of the might of thy terrible acts: and I will declare thy greatness. They shall abundantly utter the memory of thy great goodness, and shall sing of thy righteousness.
These next three verses specify what we are supposed to pass on to the next generation. David desired to see the next generation receive knowledge of God. It is also David's desire that he himself ponder all of the wonderful things God has done. God wants us to think about and speak about His great works. How do we do that? First of all, one can't pass on that knowledge unless one has it in the first place. Therefore, we need to study our Bible and learn how God has worked in various ways. We need to spend time with other believers to see amazing things God has done in the lives of others. Then we can and should share what we learn with others.
What "works" are we to share with others? We share how God has worked in our lives so others can see how God is capable of working in their lives. Although not everyone will believe, we are called to give it out and to allow God to take care of the results.