A Song of Praise for the Lord’s Faithfulness to His People
A Psalm of Thanksgiving.
100 Make a joyful shout to the Lord, all you lands!
2 Serve the Lord with gladness;
Come before His presence with singing.
3 Know that the Lord, He is God;
It is He who has made us, and not we ourselves;
We are His people and the sheep of His pasture.
4 Enter into His gates with thanksgiving,
And into His courts with praise.
Be thankful to Him, and bless His name.
5 For the Lord is good;
His mercy is everlasting,
And His truth endures to all generations.
1 Thessalonians 5:16 Rejoice always, 17 pray without ceasing, 18 in everything give thanks; for this is the will of God in Christ Jesus for you.

This video best explains how you defeat the enemy by submitting to God, resisting the devil and he will flee using thankfulness.