not always. many non-std related bacteria and viruses that can cause issues.
Would the bacteria in the urine be an indication of a std
you would need to be seen and get this properly looked at. Since you are married, you have to be concerned about not only non-std infections but also hernias too which is why a proper exam is in order.
grace