2 Kings 14:16 (ESV)

16 And Jehoash slept with his fathers and was buried in Samaria with the kings of Israel, and Jeroboam his son reigned in his place.

Perhaps the end of Jehoash’s life is also recorded here to highlight that Amaziah still lived for fifteen more years after this (see 2 Kings 14:17). To prepare that announcement, the end of Jehoash’s life is being noted here. For his successor, his son Jeroboam, see 2 Kings 14:23–29.