Are you beginning to pick things up? On through the water gates, certainly something that needed purified, symbolizing here, opening the gates to righteousness and the people were walking through and they picked up Psalm 112, and began singing toward this end.
Remember the water—where is righteousness coming from? It comes from a combination of God imputing it, as well as our use of His Holy Spirit in submission to Him, in obedience to Him.