David wanted to buy the threshing floor of Araunah so he could build an altar for Yahweh to remove the plague from his people.