2 Samuel 24:10sakhal
And David's heart smote him after that he had numbered the people. And David said unto the LORD, I have sinned greatly in that I have done: and now, I beseech thee, O LORD, take away the iniquity of thy servant; for I have done very foolishly.
David confesses numbering the people as sin and very foolish.
Numbers 12:11yaal
And Aaron said unto Moses, Alas, my lord, I beseech thee, lay not the sin upon us, wherein we have done foolishly, and wherein we have sinned.
Aaron pairs acting foolishly with sinning, asking Moses for mercy.
2 Corinthians 11:17aphrosunē
That which I speak, I speak it not after the Lord, but as it were foolishly, in this confidence of boasting.
Paul admits his boasting is spoken as if foolishly.