We lose our joy because we fail to honor God and give Him thanks (Ro. 1:21). On the other hand, the Lord tells us through the psalmist, 'He who offers a sacrifice of thanksgiving honors Me' (Ps. 50:23) Our joy is primarily contingent upon two things: 1) Our understanding of God; and, 2) The state of our communion with Him. If joy is the enjoyment of God's presence then sin kills our joy