1 John 3:22 says that because we keep God's commandments, we receive what we ask of Him.
The same restrictions that applied under the Old Covenant apply now.
Under both Covenants, God says, "I'll take care of you and bless you and cause you to walk in health, if you will keep My commandments."