There are no bad timings. Only God's perfect timing. Never too early, never too late. Nothing is ever an accident. Sometimes God allows pain for us to acknowledge that we need to run to Him. We needed to experience things that hurt because these things are here to shape us, to mold our characters, to teach us lessons, and most importantly, to bring us closer to God. Sometimes God has to break our hearts in order to save our souls and He needed to close some doors in our lives for us to choose to live for Him, and not for other reasons.
If you want to read the full blog post, here's the link: https://ljcestar.wixsite.com/starencarnacion/post/god-s-perfect-timing