without good sense or judgment; "He acted foolishly when he agreed to come"
In an unwise manner; foolishly.