Read Jeremiah 4-6
Your iniquities have turned away these things, and your sins have withholden good things from you. Jeremiah 5:25
The way you live matters. We get into the false thinking that if we do something sinful, that we're the only one affected. Or worse yet, that no one will ever know.
God spoke through the prophet Jeremiah and told the Israelites that their rebellious heart was keeping them from receiving blessings. There were so many wonderful things the Lord wanted to do, but He wouldn't because of the sin among the people.
Of course we will still be blessed, but not in the abundance that God would like. We may still have roof over our heads and food on the table, but there is so much more that He desires to share with us.
All it takes to receive the fulness of God's blessings is a humble and repentant heart. When we ask forgiveness, the Lord is faithful and just to wash away our sin and shower us with His precious blessings.