"And it came to pass, when God destroyed the cities of the plain, that God remembered Abraham, and sent Lot out of the midst of the overthrow, when he overthrew the cities in the which Lot dwelt." Genesis 19:29
God is our protector. God will protect those that faith and trust in Him. As long as we trust God completely and have faith the size of a mustard seed, He will continue to protect us and keep us safe from harm. While He may allow us to go through some things in order to bring us to where He needs us to be, He will protect us.
Look at Job. While God allowed the devil to test him and take away everything precious to him, He did not allow the devil to kill Job. Despite the things that Job had to experience, he still remained faithful to God. So no matter what we are going through, remember that the situation is only temporary and to remain faithful to God. For whatever God brings you to, He will bring you through it.