God is alive and active on earth. The principles that God set at the creation of the world are still in place. This is why there are consequences for decisions made and actions taken. It does matter if a person is righteous or ungodly and the sinner; ramifications exist and natural processes flow to their outcome.
This weekend I was afraid that a friend was about to spill a glass of iced tea and lemonade as we ate a fine evening meal. So I quickly reached for the glass, only to knock it over myself. The day before I was moving about the kitchen in the early Friday morning and caused a glass of chocolate milk to fall and shatter on the kitchen sink. Then on the last day of the weekend, I noticed a cushion on the couch my friend was seated on was moving towards a stand with a coffee resting on it. I reach to stop it from spilling over and, yes you guessed it, I knocked it over. Action and reaction, consequences and circumstances exist for all.
Since simple cause and effect like these exist no matter if the person is righteous or a sinner in action, then the same cause and effect is in effect with moral and ethical decisions and actions as well. If the righteous receive their due on earth, how much more the ungodly and the sinner!
Does this apply to all Biblical laws? Yes. Do cause and effect bear out evenly from one person to the next? No. Do ramifications nullify grace and mercy? No. Does every act receive its just reward and punishment on earth? No. Is a judgment to come thus not needed? No. If a righteous person sins, is there no punishment and loss of reward on earth? No. (1 Peter 4:17-18; Luke 23:31) If a sinner suddenly does what is right and just will good come to their lives? Yes. If a sinner does not change their ways, will their life continue to spiral into a pit of misery and anguish? Yes. Therefore, stand in awe of God and sin not. Go about doing good unto others. When I sin, fall on the mercy of God, perhaps he will soften the blow of cause and effect.