No. Republican lost the House because in the last 150 years you can count on one hand the number of times the party of the sitting president didn’t lose seats in the midterms. The mushy middle that actually decides elections goes against the president in midterms, it’s what they do.
If the HOR had passed border funding and done nothing else they'd still be the majority.