[adv] without good sense or judgment; "He acted foolishly when he agreed to come"
unwisely
sagely, showing wisdom, wisely, with wisdom