Note: this version brings together two previous posts and comment.
A (1) I will sing of mercy and judgment:
unto thee, O LORD, will I sing.
B (2) I will behave myself wisely in a perfect way.
O when wilt thou come unto me?
I will walk within my house with a perfect heart.
C (3) I will set no wicked thing before mine eyes:
D (4) I hate the work of them that turn aside;
it shall not cleave to me.
E. A froward heart shall depart from me:
I will not know a wicked person.
D’ (5) Whoso privily slandereth his neighbour, him will I cut off:
him that hath an high look and a proud heart will not I suffer.
C’ (6a) Mine eyes shall be upon the faithful of the land,
that they may dwell with me:
B’ (6b-7) he that walketh in a perfect way, he shall serve me.
He that worketh deceit shall not dwell within my house:
he that telleth lies shall not tarry in my sight.
A’ (8) I will early destroy all the wicked of the land;
that I may cut off all wicked doers from the city of the LORD.