Let me clarify some things first. There are people in scripture who were very wealthy and who followed God. So if that is the case, and those blessings of riches came by following him, then therefore we can assume God does not have a problem with riches or wealth. There are also people who followed God who were not wealthy in riches. Therefore we can also connect the fact that just because you follow God, does not mean you will inherit physical riches.
There is nowhere in scripture that says that the devil gives wealth to anyone. All it says is that he seeks to steal, kill, and destroy us. Furthermore, he must do so within the scope of God's plan, as is witnessed in Job. Satan was given free reign to harm Job, but he could not kill him. In this way, many people who perform in sin are likely being permitted to be tempted by Satan to evil gain of riches, but it doesn't mean that he is blessing them in that. It is his will to destroy them with their wealth and to separate them from God.
As we can see with Matthew who wrote a gospel of the bible, wealth can be very tempting, but even this can be overcome by God. Matthew ended up giving his life for Christ, and so we also can't say that having wealth will lead to evil. The bible doesn't claim this. It says that money is the root to all kinds of evils. That means that it can connect to them, but isn't 100% the case. Money is used, and has been used for millennia to help the poor. God even decrees that the money of the sinful wealthy will be taken from them in an instance and their lives will end quickly, and the money they stored will be given to the poor. If you investigate the evil men who've died in our history, that is precisely their fate. Their end came unexpectedly swift, and their money went to the poor and needy. Therefore, it's not right to say that all wealthy are sinners and all rich are tempted by their money; nor that it is from the devil.