foolishly
1. [ adverb ] without good sense or judgment
Synonyms: unwisely
Examples:

"He acted foolishly when he agreed to come"

Related terms: wisely foolish foolish