I will rejoice and be glad in Your lovingkindness,
Because You have seen my affliction; You have known the troubles of my soul.
And You have not given me over into the hand of the enemy;
You have set my feet in a large place. (Psalm 31:7-8, NASB95)
You have seen my affliction; You have known the troubles of my soul . . . Just that knowledge is would be enough to give a child of God reason for rejoicing (God knows!), but God also protected David. God delivered him from his adversary repeatedly, even when Saul sought him every single day (1 Samuel 23:14).
God sees and knows you too. He knows your thoughts and your ways (Psalm 139:2-3), your words before you speak them (Psalm 139:4), the number of steps you take (Job 29:4), the number of hairs on your head (Matthew 10:30), and all your tears (Psalm 56:8; 2 Kings 20:5). He knows the fiery trials you are enduring for His Name’s sake. He sent them in His faithful love to strengthen and increase your faith in Him and His precious promises.
What else does God know? He knows how many miles are on your old car and how many things need to be fixed. He knows the amount of money in your bank account. He knows the amount of that unexpected bill you just received in the mail. He knows the debts you owe to your creditors. He knows the conflict you are facing in your workplace. He knows the struggles in your marriage. He knows the pains you feel that you never tell anyone about. He knows the disappointment you feel over a lost friendship. He knows the loneliness of your heart. He knows the uneasiness in your soul as you ponder the uncertainties of your life.
God knows and He cares (1 Peter 5:7), and His lovingkindness towards you is everlasting. Your heavenly Father will deliver you from your enemies. He will set your feet in a large place. That may be a temporary place on earth, for more trials are sure to come in this life, but it will be permanent in His heavenly home where He will receive you and welcome you to all eternity through His Son Jesus Christ.