In a foolish manner.
He dressed foolishly to entertain the children.
Without good judgment.
Foolishly, he had decided that, because a home was the best investment, two homes were even better.