I'm in a little bit of a downswing right now (2NL learning the game), and most if it is coming from KK and AA. I'm not thinking too clearly about these two specific hands so I figured i'll ask it on here

When I get KK and AA, i raise 4x+1 and usually get a caller or two. Flop comes, i often throw in a Cbet, and thats all. I scoop in a mini pot

Other times, I cbet the flop and get raised/shoved at. I get stacked by hands like 67s, 10J, PP turned into sets, 2 pair, etc. I can usually get away on wet flops, but on dry flops vs sets/2pair I get stacked.

With the exception from maniacs who go crazy with draws or TPTK, how is KK and AA even profitable? You win a lot of small pots, and then lose a huge pot and/or your entire stack.