The Swedish term "förgäves" matches the English term "vainly"

other swedish words that include "förgäves" : english :
förgäves in vain