unwisely

/ʌnˈwaɪzli/
adverb
  1. In a way that shows a lack of good judgment; foolishly.
    • He unwisely spent his entire paycheck on video games.
    • The company unwisely ignored early warnings about the market downturn.
    • She unwisely decided to hike alone without telling anyone her route.