One thing that was discussed in a class that I took was to get down low. If you have time to crouch, you probably have time to aim more carefuly. But even so, if you are shooting in an upward motion and do miss, your round would probably be too high to hit anyone that was still in bed. Just knowing your surroundings is a big advantage. Just remember, someone that has just broken into your house probably does not know the layout.
A lot of people don't understand that a bullet doesn't stop at a wall. Just to see what would happen several of the range officers where I took my ccw class set up a test. They took sheetrock and 2x4s and made a framework. It was setup with a piece of rock then a 2x4 frame, then rock, then frame. They wanted to see how many pieces of rock a 45 fmj would penetrate. They had 18 sheets of rock. It went through all 18. Think about that. That bullet would have traveled through 9 walls as long as it did not hit a stud.
Romans 1:16 I am not ashamed of the gospel, because it is the power of God for the salvation of everyone who believes: first for the Jew, then for the Gentile.