“I will praise you with my whole heart!
Before the gods will I sing you praise!”
The “gods” before whom David said he would sing praise to God were men who were in high positions on earth. They were the wealthy rulers and judges in Israel.
Only a few are so consumed with love for God that they are not concerned with who is watching when it is time to pray or praise God.