You apparently cling to the Christian idea that G-d is Love. Again, Judaism does not define G-d that way. In fact, it does not define G-d at all, or perhaps more in the sense of what he is NOT, rather than what He is. Any definition of G-d is too limiting (by definition!). But even the belief that G-d is Love must incorporate the many features of G-d’s Love. Since we are created in G-d’s image, a pale reflection of those features can be found in human love as well. What I mean is that love does NOT consist solely of kumbaya feelings toward others. Love ALSO may include fairness, discipline, testing, and, yes, even trial and punishment. As the French say: “Qui aime bien chatie bien” (Who loves well, punishes well.) How much more so, therefore, is G-d likely to incorporate these other features in His love for us humans, which includes His love for Abraham.