Replacing God with Idols

After everything God had done for the Israelites, we'll see them replace Him with a golden calf. Why would they do that? And what could an event from thousands of years ago possibly have to do with us today?