Job 31:25-29 New International Version (NIV)

25. if I have rejoiced over my great wealth, the fortune my hands had gained,

26. if I have regarded the sun in its radiance or the moon moving in splendor,

27. so that my heart was secretly enticed and my hand offered them a kiss of homage,

28. then these also would be sins to be judged, for I would have been unfaithful to God on high.

29. “If I have rejoiced at my enemy’s misfortune or gloated over the trouble that came to him—

Job 31