well ain’t that a kick in the head
When something happens that is surprising, or something that makes you reassure or realize something.
Jerald: hey, did you hear that Jim broke up with terry for a nice looking bagel?
John: well ain’t that a kick in the head!
John: well ain’t that a kick in the head!