The Iranian president says the country will neither retreat nor hesitate in defending its national security and peace.