Do not dismay if bad things happen to you when praying:
12: 6 For whom the Lord loveth he chasteneth, and scourgeth every son whom he receiveth.
12: 7 If ye endure chastening, God dealeth with you as with sons; for what son is he whom the father chasteneth not?
12: 8 But if ye be without chastisement, whereof all are partakers, then are ye bastards, and not sons.
Revelation
3:19 As many as I love, I rebuke and chasten: be zealous therefore, and repent.
Pray always, even if bad things happen when you do!
ROM 9: 33 As it is written, Behold, I lay in Sion a stumblingstone and rock of offence: and whosoever believeth on him shall not be ashamed.