John 3:16,17 NLT
For this is how God loved the world: He gave his one and only Son, so that everyone who believes in him will not perish but have eternal life. God sent his Son into the world not to judge the world, but to save the world through him.
God loved us so much he came up with the solution to our sin issue and he did it in perfection of all his attributes. He gave his one and only son. Let that sink in. He sent Jesus to live a sinless life, to die on a cross for the penalty of our sins, and rose again conquering sin and death for us.
One can ask how a loving merciful God allow such terrible things to happen in the world (wars, poverty, child hunger, etc). The fact is that God grieves all of those things because he detests sin. In fact he sent his son to earth to die and rise again because of his love for each of us.