The person who lies has to try to rebuild the trust that was destroyed. The one who habitually abuses a substance has to face the consequences of the effect that substance has on their bodies and their relationships. The person who constantly feeds their mind with pornography will have a difficult time getting away from those images as they seek to live a life of purity. The person who has been ensnared in the insatiable desire for material things may have enormous debt to pay off. You get the idea, I hope.
Sin has consequences.
Sometimes they are painful. But sometimes difficult times are not a result of our own actions. Hagar originally was only being an obedient servant. She was told to try to have a child with Abraham and she did what she was told. He certainly didn't ask to be born into this situation.