The English term "what for" matches the Hungarian term "miért"

other english words that include "what" : hungarian :
in what way hogy, milyen, mint
what mi, mit
what a hogy, milyen, mint