Carlos Sainz admitted he thought he "couldn't drive any more" when Formula 1's regulations changed at the start of 2022.