We are having difficulty imagining a situation where we would tell a person he is cursed for not obeying the law of God. We agree that people bring divine judgments upon themselves for their disobedience to God, but the language you have used is not, in our view, the way believers should talk to one another. We would say that it is possible for a saved person to experience trouble and hardship in their lives because they are either willfully or ignorantly violating godly principles of living. If it is willful, then they are definitely putting their eternity in jeopardy. But if it is ignorance, then they need a caring brother or sister to help them understand the ways of God.
Salvation under the New Testament is not a matter of whether or not we obey God's law. If it were, then we could save ourselves and wouldn't need a Savior. Salvation is a gift from God based on His willingness to freely forgive us for the times we have transgressed His law. This greely given grace ought to inspire us to live 'soberly, righteously, and godly in the present age, looking for the blessed hope and glorious appearing of our great God and Savior Jesus Christ, who gave Himself for us, that He might redeem us from every lawless deed and purify for Himself His own special people, zealous for good works' (Titus 2:12-14).