This is a Psalm that the commentators call a "Sabbath Psalm." It is indicating an activity that is taking place on the Sabbath. That is when people gather before God, shout joyfully, and come before His presence with thanksgiving. Of course, anybody can do that in prayer as well, but this is a Sabbath Psalm. That is its broad application.