Jeremiah 9:24halal
But if people want to brag, let them brag that they understand and know me. Let them brag that I am the Lord, and that I am kind and fair, and that I do things that are right on earth. This kind of bragging pleases me," says the Lord.
The right kind of bragging: knowing the Lord and his kindness.
1 Corinthians 1:31kauchaomai
So, as the Scripture says, "If people want to brag, they should brag only about the Lord."
Paul quotes Scripture: brag only about the Lord.
1 Corinthians 4:7kauchaomai
Who says you are better than others? What do you have that was not given to you? And if it was given to you, why do you brag as if you did not receive it as a gift?
Everything is a gift, so bragging as if self-made makes no sense.
2 Corinthians 12:9kauchaomai
But he said to me, "My grace is enough for you. When you are weak, my power is made perfect in you." So I am very happy to brag about my weaknesses. Then Christ's power can live in me.
Paul brags about weakness so Christ's power lives in him.