Joshua 7 The accursed thing!

In Joshua 7 a man takes of the "accursed thing". Bringing disaster upon all his people. What is the "accursed thing"? Are God's people today guilty of the same thing? If so what are the consequences?