31 He died and was buried in David's City, and his son Rehoboam succeeded him as king.