"I praise you, for I am fearfully and wonderfully made. Wonderful are your works; my soul knows it very well." -Psalm 139:14
Though it's not always easy to do, we should praise God and live as He wants us to, even when things are not going well.
...We should also thank Him for being holy, perfect, and loving, both in good times and in bad times.