If you look this scripture up at bible gateway using different versions you get an idea what the verse is saying. It really helps to look at verse 3 too.
For example: the NIV says:
4 Oh, for the days when I was in my prime,
when God's intimate friendship blessed my house,
and the New King James says:
4 Just as I was in the days of my prime,
When the friendly counsel of God was over my tent;
the more i looked the more it seems to be the blessing of his relationship, the closeness, the mystery of God
Hope that helps, Tapero