God answers prayer as two examples reveal. Hagar and Ishmael were banished to the wilderness. But God intervened to save their lives. Righteous King Hezekiah turned to God in prayer when the nation of Judah was attacked by Assyrian King Sennacherib. God destroyed the invading army and the king was eventually killed.