So they called the name of that place Bochim, and they sacrificed there to Yahweh.
“they sacrificed there to Yahweh.” They either built an altar or there was one there from an earlier time. Offering a sacrifice is an appropriate response to their sin.