Looking through Johannes' time line, the 1758 marriage event seems to be for a different Johannes:
--------------------
Cape Town Marriages 1758
Written by transcribed by Corney Keller. Posted in Cape Town Marriages 1757-1803
Page 10
1758
https://www.eggsa.org/sarecords/index.php/church-registers/cape-tow...
Den 15 October
Johannes Jonsz, van Batavia,
Vrijzwart alhier, '''Jongman''', met
Rosetta van Bengalen, Weduwe
van Arend Balij
Please note that the Johannes Jonsz that marries Rosetta van Bengalen- widow of Arend Balij is recorded as a bachelor and from Batavia.
--------------------