Trump obviously did not follow the law in this instance otherwise we wouldn't be in the current predicament with him.Trump followed the law.
Biden knows that he is profiting from his son's criminal activities on his behalf, but he is confident that the DNC/DOJ/FBI will never go after him.