From which book of the Bible is the following verse?

"But as for you, you thought evil against me; but God meant it to good, to bring to pass, as it is this day, to save much people alive"