There are two sides to love. There is the soft side of love with warm-fuzzies, hugs, grace, and random acts of kindness. There is also a hard side of love. The hard side of love stands up for what is right, sets clear and appropriate boundaries, and ensures that justice is appropriately carried out. The hard side of love is hard because it requires tremendous strength of character to wield it, and because it appears harmful to the ignorant, casual observer. A doctor will, lovingly, injure his patient to ensure future health and wholeness. The hard side of love seems terrible, unjust, and unfair in the moment while it is utterly necessary in the context of the whole.
Let's face it. We like the idea of a safe God. Give us a God of stained-glass and angelic choruses. We like a God with babies in his arms or a gentle lamb draped over his shoulders. But the God who gathered the innocent child into his arms is the same God who made a whip and went on a violent rampage through the temple. The shepherd who gently carries the wayward sheep home must also be ruthless in killing the lion and the bear who would prey upon his flock.
A father who cares for his children must dispense both praise and punishment appropriately, and with great wisdom. Our Heavenly Father, a God of love, must also by definition be a God of judgement. Love without justice is not true love.