ill-advisedly

adverb
1
in a way that is not sensible or is likely to cause difficulties in the future
ناخردمندانه, با بی‌خردی, نسنجیده, بی‌فکرانه