Sri Krishna was a Brahmachari because his mind was merged in BRAHMA and stayed in that condition throughout his life. Only from the condition of a Brahman did he offer the spiritual discourse Srimad Bhagavad Gita.