אֲשֶׁ֣ר יַ֭חְדָּו נַמְתִּ֣יק ס֑וֹד בְּבֵ֥ית אֱ֝לֹהִ֗ים נְהַלֵּ֥ךְ בְּרָֽגֶשׁ׃
Którzyśmy wspólnie napawali się rozmową, do domu Bożego chadzali z zapałem.
Bartenura
ארבע פייסות היו שם – four times during the day, they would be gathered to arbitrate, and they would not arbitrate for all of them in one meeting, in order to announce by sound four times that there is a large gathering of people in the courtyard, and that is for the honor of the King (i.e., God), as it is stated (Psalms 55:15): “[Sweet was our fellowship;] we walked together in God’s house.”
Rashi
Or one utterance: of good reasoning, as next to the verse, "But it was you, a man my equal," is another verse adjacent (Psalms 55:15), "Which together we sweetened counsel." As Achitophel had found David sitting alone and involved in Torah [study]. He said to him, "Why are you studying alone? And has it not already been stated (Jeremiah 50:36), 'A sword is upon the fabricators (badim) and they shall become foolish' (- a sword is upon Torah scholars that sit one by one (bad vebad) and are involved in Torah [study], etc.", and see Berakhot 63b.) And again another time he found him entering his House of Study with an upright posture. He said to him, "And has it not already been stated (Leviticus 19:30), 'and revere My holy place' - that a man should enter there with reverence, so that the fear of Heaven be upon him." And so [too], it states (Psalms 55:15), "in the house of God shall we walk with emotion (beragesh)" - [which is here] an expression of awe and fear. And some say (that [David] went alone into the House of Study and [Achitophel] said to him, "'In the house of God shall we walk beragesh' is it written, since a person is obligated to enter there with a group of people" - and ragesh [here] is an expression of gathering, as in (Psalms 2:1), "Why have the nations gathered"), because it is written (Proverbs 14:28), "In the multitude of people is there splendor for the king."
Or HaChaim
A thirty-first meaning of the words in our verse is related to Psalms 72,5: "Let them fear you as long as the sun shines, etc." our sages in Berachot 29 comment on this verse that the time for all creatures to perform their service for the Lord is in the morning, the time allocated for our morning prayers. The next time for the creatures to perform their service for G'd is when the sun sets. We may understand the meaning of אם בחקתי תלכו as reflecting Psalms 55,15: "let us walk together in G'd's house when there is turmoil (outside)." The words ואת מצותי תשמרו refer to the practice of the early חסידים who used to assemble an hour before prayer in order to prepare themselves emotionally (Berachot 29). The words ועשיתם אתם are to be understood as a medicine against natural disasters involving the sun and the moon (eclipses and the like which are interpreted as harbingers of catastrophes) The premise underlying this concept is that misconduct by the inhabitants of the "lower" part of the universe will have an impact on the conduct of the planets, especially those influencing our daily lives such as the sun and moon (compare Sukkah 29).