It is most important to distinguish between these two aspects, because there are different ways of finding out the will of God in each aspect. His fiancee, Mary, became pregnant, presumably to another man. The first thing he did was to do nothing. He 'considered' the situation. No doubt he prayed fervently as well.
Nothing is ever right if it contradicts a command of Scripture.
He believed justice must be tempered by love. He had to obey the word of God, that was clear. The questions are endless, and constant. Analyse it in the presence of God. Archbishop William Temple noticed that instances of guidance tended to increase or decrease in proportion to his own prayerfulness.