You can give thanks because God loves you and because He is good. You can give thanks because God is in control of your life. And you can give thanks because, ultimately, God will work all things together for good to those who love Him and are called according to His purpose (see Romans 8:28).