Sometimes the Church is compared to a spiritual building: "God's temple is holy, and that temple you are" (1 Cor. 3:17). At other times it is compared to a tree, because it produces fruit. Now the foundation of a building is related to the building as the roots of a tree are related to the tree, because the foundation and roots are the source of strength; and this source is Christ. "In that day the root of Jesse shall stand as an ensign to the peoples" (Is. 11:10); "For no other foundation can any one lay than that which is laid, which is Jesus Christ" (1 Cor. 3:11). So Paul uses the expressio...n, rooted, like good branches, and built up in him and established, like good stones. And they will be like this if they persevere in the faith. "Your adversary, the devil, prowls around like a roaring lion, seeking some one to devour" (1 Pet. 5:8); and the text continues: "Resist him, firm in your faith." They are to live in Christ just as you were taught, that is, in the true faith: "If any one is preaching to you a gospel contrary to that which you received, let him be accursed" (Gal 1:9). Abounding in thanksgiving, giving many thanks: as we read in 1 Thessalonians (5:18), "Giving thanks in all circumstances"; "Having been saved by God out of grave dangers, we give him great thanks" (2 Macc 1:11).
Source: Commentary on Colossians