Macduff didn't abandon Malcolm's cause but instead grieved for his country. Malcolm then revealed his intention to restore just rule to Scotland.
Malcolm wants Macduff to take revenge on the murderer, who happens to be Malcolm's enemy Macbeth. In this respect, Malcolm resembles Claudius in Hamlet, who uses Laertes' desire for revenge for his own personal ends.
He is at the English court in order to meet with Malcolm.
Malcolm told Macduff that he was greedy, and lustful and had absolutely no desire to be king. He even tried to convince Macduff to accept the opportunity to become king but instead Macduff turned down the offer and told Malcolm that despite all of his bad qualities he would still make an excellent king.
Malcolm suspected Macduff of having designs on the crown and throne of Scotland. In Act 4 Scene 3, Macduff had arrived in England from Scotland. He had joined the group of discontented Scotsmen that had formed around the subsequent King Malcolm III [d. November 13, 1093]. Malcolm wanted to take the throne of Scotland away from Macbeth [c. 1014-August 15, 1057]. He wanted someone else to kill and behead Macbeth. But he didn't want Macbeth's murderer to gain the Scottish crown and throne. Malcolm knew that Macbeth had had Macduff's entire family and household murdered. So he wanted Macduff to be Macbeth's murderer. But he wanted to make sure that Macduff would do the killing only to avenge his lost family and household. He wanted to make sure that Macduff wouldn't try to claim the crown and throne as his.
Malcolm advises Macduff to go out and fight to help place Malcolm on the throne. All Malcolm sees in Macduff's suffering is an opportunity to gain an ally.
Malcolm hesitates to accept Macduff's offer of assistance because he is testing Macduff's loyalty and sincerity. Malcolm wants to make sure that Macduff is truly loyal to him and not trying to trick or betray him. Additionally, Malcolm is feeling distrustful and cautious due to the corrupt and treacherous nature of the world around him.
Malcolm asks Macduff about his family to test his loyalty and see if Macduff is truly trustworthy. He pretends to be a tyrant like Macbeth to see if Macduff would still support him.
Macduff and Malcolm plan to overthrow Macbeth in England.
Both Malcolm and Macduff believe Macbeth is a tyrant to be overthrown. However, Malcolm is a tyrant himself, if not even more repulsive than Macbeth. Though Macduff is not fully aware of this fact. Malcolm manipulates Macduff into slaying Macbeth and then plea allegiance to himself as the King of Scotland.
By not committing to join Macduff in overthrowing Macbeth, Malcolm gains the opportunity to test Macduff's loyalty and dedication to the cause. It also allows Malcolm to assess Macduff's character and leadership abilities before fully trusting him in the rebellion against Macbeth.
Unlike his father who trusted too easily, Malcolm does not trust Macduff. He does not trust him because he thinks that Macduff may be secretly working for Macbeth. To test this theory he rambles lies giving examples of how he is not fit to be king. However, it is Macduff's polite reaction of disagreeing with Malcolm which makes Malcolm believe Macduff.
Malcolm trusts Macduff because he demonstrates his loyalty to Scotland and his opposition to Macbeth by joining forces with him to overthrow the tyrannical ruler. Macduff's courage and dedication to the wellbeing of Scotland earn Malcolm's trust and respect.
Malcolm reveals to Macduff that Siward plans to attack Macbeth's stronghold at Dunsinane with ten thousand soldiers.
Malcolm reveals his flaws to Macduff in order to test his loyalty and see if he truly has Scotland's best interests at heart. By pretending to be a worse candidate for king than he actually is, Malcolm is able to gauge Macduff's reaction and trustworthiness.
Malcolm tells this to Macduff as a test to see if he, Macduff, is really loyal to Scotland or if he is there by request of Macbeth to retrieve Malcolm so Macbeth could kill him. This takes place when Macduff if trying to reclaim the crown of Scotland from Macbeth by force and put the rightful heir into throne. Before Macduff, many others had come to try and bring Malcolm back (or it is implied at least), so that is why Malcolm does not trust Macduff so he, like i said, tested him and his loyalty to Scotland
He was testing Macduff to see if he genuinely had the interest of Scotland at heart. When Malcolm says "He hath not touched you yet" (IV, iii, 14) it means that he suspects Macduff is in league with Macbeth to take him prisoner and kill him. Malcolm then makes up all his vices to make sure that Macduff wants a good king and not just Malcolm. When Macduff responds that with his vices, Malcolm would make a terrible kind, Malcolm responds that he made the vices up and he knows that Macduff has Scotland's best interests at heart.