The choice you make between living holy and committing sin determines what you attract to your life - whether blessings or curses.
Blessings don't come without a cause (e.g: Genesis 27:1-4). If you want God to bless you, do His will and please Him always.
Don't mistake just having money for divine blessings. A truly blessed man has all round peace and prosperity.
“Holiness attracts God's blessings.”
Memorise: And all these blessings shall come on thee, and overtake thee, if thou shalt hearken unto the voice of the LORD thy God. -Deuteronomy 28:2