Exodus 12:29 Why does the LORD murder children and babies?

"And it came to pass, that at midnight the LORD smote all the firstborn in the land of Egypt, from the firstborn of Pharaoh that sat on his throne unto the firstborn of the captive that was in the dungeon;" Exodus 12:29 King James version.

Is this the same LORD that is supposed to be all love?
10 answers 10