Job 31:26-29 King James Version (KJV)

26. If I beheld the sun when it shined, or the moon walking in brightness;

27. And my heart hath been secretly enticed, or my mouth hath kissed my hand:

28. This also were an iniquity to be punished by the judge: for I should have denied the God that is above.

29. If I rejoiced at the destruction of him that hated me, or lifted up myself when evil found him:

Job 31