The comparisons are undeniable and offer lessons for both President Joe Biden and his apparent Republican nominee, former President Donald Trump.