The Psalms was written a few thousand years ago. Humans have been around for hundreds of millions of years. Think about that.
There was a Pharoh who had the insights of there being only one God. He created a new palace, away from the influences of the old system. He penned some of the most amazing thoughts. There is one particular set of thoughts is in the Book of Psalms. I watched a documentary where the woman was moved by the set of words. I remembered reading a Psalm very similar. I am not saying somebody copied it. God is not varying, so expression of thoughts are simlar in all cultures.