2 Chronicles 22:11

But Jehosheba, the daughter of the king, took Joash, the son of Ahaziah, and stole him from the midst the king’s sons when they were being slain. And she hid him with his nurse in a bedroom. Now Jehosheba, the one who had hidden him, was the daughter of king Jehoram, and the wife of the high priest Jehoiada, and the sister of Ahaziah. And because of this, Athaliah did not kill him

Other versions

King James Version

But Jehoshabeath, the daughter of the king, took Joash the son of Ahaziah, and stole him from among the king's sons that were slain, and put him and his nurse in a bedchamber. So Jehoshabeath, the daughter of king Jehoram, the wife of Jehoiada the priest, (for she was the sister of Ahaziah,) hid him from Athaliah, so that she slew him not.

English Standard Version

But Jehoshabeath, the daughter of the king, took Joash the son of Ahaziah and stole him away from among the king's sons who were about to be put to death, and she put him and his nurse in a bedroom. Thus Jehoshabeath, the daughter of King Jehoram and wife of Jehoiada the priest, because she was a sister of Ahaziah, hid him from Athaliah, so that she did not put him to death.

New International Version

But Jehosheba, the daughter of King Jehoram, took Joash son of Ahaziah and stole him away from among the royal princes who were about to be murdered and put him and his nurse in a bedroom. Because Jehosheba, the daughter of King Jehoram and wife of the priest Jehoiada, was Ahaziah's sister, she hid the child from Athaliah so she could not kill him.