1. The tree with deep roots is not shaken by wind.

2. The tree with deep roots is not shaken by the wind.
=============
Which one is right? Do we have to put 'the' before 'wind'?

Both are fine. They mean the same thing.