What role does gratitude play in overcoming anxiety and depression according to the Bible?

Bible on gratitude and anxiety