When we operate against the laws of God, there's a friction inside our hearts. But when our thoughts line up with God's thoughts, there's an ease and joy we experience, because we live aligned with the way God designed us.
The psalmist doesn’t chase happiness directly; he immerses himself in God’s statutes and joy overflows from that.