# did not remember the kindness that Jehoiada, Zechariah's father, had done to him

"did not pay attention to the way that Jehoiada, Zechariah's father, had been kind to him"

# to him
Here "him" refers to Joash.

# call you to account

"make you pay for the wrong you have done"

