Riekertlily, I would say in answering the OP that we must remember that Gods ways are not our ways. We rightfully pray for Gods will to be done in our lives. But when things go array we assume His will isn't being done usually because His will didn't meet our expectations and desires. But those are OUR will, not His. My belief is that we are to have faith that His will is being done if that is your prayer and if it doesn't meet your expectations, then those expectations are misguided or off, not God. Knowledge, wisdom, and understanding help you see more clearly how God is working and aligns one closer to desiring the will of God in their life, rather than your own will for a certain outcome. I guess I'm trying to say that understanding His will is paramount when looking for answered prayers. I've prayed for many things that seemed to me would be what God would want for the situation, too. Only to feel emptied and alone in the end. But I know now that it wasn't in His will, that He is perfect and sees all things perfectly and believe that I needed that test of faith to grow in knowledge of Him.
Pro 4:7 Wisdom is the principal thing; therefore get wisdom: and with all thy getting get understanding.
Pro 18:15 The heart of the prudent getteth knowledge; and the ear of the wise seeketh knowledge.
Jas 1:5 If any of you lack wisdom, let him ask of God, that giveth to all men liberally, and upbraideth not; and it shall be given him.
And, Jas 5:16 Confess your faults one to another, and pray one for another, that ye may be healed.
The effectual fervent prayer of a righteous man availeth much.
don't give up...believe.