Kg1 16:19 is connected with ויּמת in Kg1 16:18 : "and so died for his sins," i.e., as a punishment for them.