Hab 3:17-18 Though the fig tree should not blossom, nor fruit be on the vines, the produce of the olive fail and the fields yield no food, the flock be cut off from the fold and there be no herd in the stalls, yet I will rejoice in the Lord; I will take joy in the God of my salvation.
Habakkuk took the position of being determined to remain steadfastly faithful to the Lord in spite of the way the world was falling apart around him. James wrote that we are to have joy in the Lord in spite of trials and tribulations surrounding us (Jas 1:2-3). Faith in God is required. Faith can be most clearly seen in times of adversity. Persecution is not an experience to take pleasure in, but joy of heart, derived from the presence of the Lord as the Holy Spirit fills the believer, transcends the worst torture to the flesh.