Suppose that someone (let's call him David) was really angry because he was fired from his job for no good reason. David's wife called his friend hoping he could calm David down. When the friend arrived, David took all his anger out on him. The friend, however, did not take anything David said personally and did not react because he was aware that David was not in full control of his emotions.
What can we say to describe what the friend did here?
My first thought was that "considerate" could fit.
The friend was considerate for David.
Then I thought "take into account" might be the verb that I am looking for.
He took David's state of mind into account and did not escalate the situation.
However, I could not find any similar sentences used in the same context online and I am not really sure whether they actually sound natural.
Could you please confirm whether "considerate" or "take into account" can be used in this context? If not, is there a verb or an adjective that captures the intended meaning?