I know sin can prevent blessings in our lives. It doesn't seem to apply to non believers though.

Im just going through a rough patch in life with losing family members illness and a major life change. I know im not where im suppose to be. However the depression is just so hard right now. I still love God and want my life to reflect Him. Anyways there's something big I've been waiting a lifetime for from Him and I feel hopeless bc I dont feel im in the correct place to receive a blessing. This has me overwhelmed and sad. Can God bless you even if you aren't doing the things you are suppose to do for Him?