24:25 David performed priestly functions when he built an altar, offered burnt offerings and peace offerings, and prayed for his people; in response, the Lord answered his prayer (cp. 21:14).