They had violated the ways of God and a man lost his life. We must handle the things of God His way. We must not rely on our own understanding and do it our own way. We must not compromise and believe the lie that "the end justifies the means." We must do it God's way or innocent people will get hurt.
Read it firsthand in 1 Chronicles 13:5-14.