Wiktionary
foregainst
prep. (context Now chiefly dialectal English) directly opposite to; in the opposite scale to.