Holding urine for an extended period can be uncomfortable and potentially harmful, but it's unlikely for the bladder to actually burst under normal circumstances. The bladder can stretch to hold a certain volume of urine, but there are limits. Generally, the urge to urinate becomes strong when the bladder is about half full, and most people will feel an intense urge to go well before it reaches a dangerous capacity.
It's important to listen to your body's signals and relieve yourself when you feel the urge. If you find yourself frequently needing to hold your urine for extended periods, it may be worth discussing with a healthcare professional. In any case, it's best to use the bathroom regularly to maintain good urinary health.