Valmiki Ramayana Kishkindha Kanda Sarga 12 Shloka 34
Original Shlokaत्वयि वीरे विपन्ने हि अज्ञानाल्लाघवान्मया। मौढ्यं च मम बाल्यं च ख्यापितं स्यात्कपीश्वर4.12.34।।
1 source checked for this shloka
वीरे warrior, कपीश्वर O lord of monkeys, अज्ञानात् by ignorance, लाघवात् due to thoughtlessness, त्वयि विपन्ने in your danger, मया by me, मम my, मौढ्यं च folly, बाल्यं च childishness, ख्यापितम् revealed, स्यात् will be.
'O lord of monkeys I would have betrayed my foolishness and childishness had I exposed you to danger by my ignorance and thoughtlessness.