Note: here is a proposal that extends the previous post to the whole Psalm.
A.(1) In the LORD put I my trust: how say ye to my soul, Flee as a bird to your mountain?
B.(2) For, lo, the wicked bend their bow, they make ready their arrow upon the string, that they may privily shoot at the upright in heart.
C.(3) If the foundations be destroyed, what can the righteous do?
D.(4) The LORD is in his holy temple, the LORD’S throne is in heaven:
C’. his eyes behold, his eyelids try, the children of men. (5) The LORD trieth the righteous:
B’. but the wicked and him that loveth violence his soul hateth.(6) Upon the wicked he shall rain snares, fire and brimstone, and an horrible tempest: this shall be the portion of their cup.
A’.(7) For the righteous LORD loveth righteousness; his countenance doth behold the upright.
I do not think this is a valid chiasm because “LORD” in v. 5 breaks the pattern of “LORD” in vv. 1 and 7 and “righteous” in v. 7 breaks the pattern of the the pairing of this word in vv. 3 and 5.