Don't be disheartened if your prayers are not granted by God. because God knows more what he did. Source