Foolishly And This in the KJV
3 verses of the King James Version have both "foolishly" and "this".
1 Chronicles 21:8 And David said unto God, I have sinned greatly, because I have done this thing: but now, I beseech thee, do away the iniquity of thy servant; for I have done very foolishly.
Job 1:22 In all this Job sinned not, nor charged God foolishly.
2 Corinthians 11:17 That which I speak, I speak it not after the Lord, but as it were foolishly, in this confidence of boasting.