Once I 3bet with JJ if I get 4 bet I'm pretty much shoving the hand in these spots. I don't want to play a bloated pot OOP with JJ, really going to be hard to play so well.
Once you flat the 4bet there's no other way you can play this hand, villain's bet sizing was perfect if he had KK-AA. River I would fold too as I really don't expect to see worse here.
I think the mistake was flatting the 4bet, shoving is way better.