God’s Punishment

Does God punish us very harshly for our mistakes, such as non-deliberate betrayal in relationships, even if we are dying of guilt and are intentions were good on the whole? Does God give us our love back after we accept our punishment in good spirit?