Carter had already lost the election in ‘79.
Anyone could have beaten him without trying. His Iran and military policies made him unelectable.
18% mortgage interest rates, and gas lines made him unelectable.. the Iran Hostage situations just put the icing on the cake.