Former US president Donald Trump on Saturday blasted his opponent in the November election, Joe Biden, over Iran's attack on Israel, alleging it showed American "weakness" under his successor's leadership.

"God bless the people of Israel. They are under attack right now. That's because we show great weakness," he said at a campaign rally in Pennsylvania.