Ecclesiastes 5:20

Amplified Bible (AMP)
For he will not often consider the [troubled] days of his life, because God keeps him occupied and focused on the joy of his heart [and the tranquility of God indwells him].

Read Ecclesiastes 5:20 in other translations