Srimad Bhagavatam Canto 05, Chapter 18, Text 26

SB 5.18.26

antar bahis cakhila-loka-palakair
 adrsta-rupo vicarasy uru-svanah
sa isvaras tvam ya idam vase ’nayan
 namna yatha darumayim narah striyam
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
My dear Lord, just as a puppeteer controls his dancing dolls and a husband controls his wife, Your Lordship controls all the living entities in the universe, such as the brahmanas, ksatriyas, vaisyas and sudras. Although You are in everyone’s heart as the supreme witness and commander and are outside everyone as well, the so-called leaders of societies, communities and countries cannot realize You. Only those who hear the vibration of the Vedic mantras can appreciate You.
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
The Supreme Personality of Godhead is antarbahih, present within and without everything. One must overcome the delusion caused by the Lord’s external energy and realize His presence both externally and internally. In Srimad-Bhagavatam (1.8.19) Srimati Kuntidevi has explained that Krsna appears in this world nato natyadharo yatha, “exactly like an actor dressed as a player.” In Bhagavad-gita (18.61) Krsna says, isvarah sama-bhutanam hrd-dese ’rjuna tisthati: “The Supreme Lord is situated in everyone’s heart, O Arjuna.” The Lord is situated within everyone’s heart, and outside as well. Within the heart He is the Supersoul, the incarnation who acts as the adviser and witness. Yet although God is residing within their hearts, foolish people say, “I cannot see God. Please show Him to me.”
Everyone is under the control of the Supreme Personality of Godhead, exactly like dancing dolls controlled by a puppeteer or a woman controlled by her husband. A woman is compared to a doll (darumayi) because she has no independence. She should always be controlled by a man. Still, due to false prestige, a class of women wants to remain independent. What to speak of women, all living entities are prakrti (female) and therefore dependent on the Supreme Lord, as Krsna Himself explains in Bhagavad-gita (apareyam itas tv anyam prakrtim viddhi me param). The living entity is never independent. Under all circumstances, he is dependent on the mercy of the Lord. The Lord creates the social divisions of human society — brahmanas, ksatriyas, vaisyas and sudras — and ordains that they follow rules and regulations suited to their particular position. In this way, all members of society remain always under the Supreme Lord’s control. Still, some people foolishly deny the existence of God.
Self-realization means to understand one’s subordinate position in relation to the Lord. When one is thus enlightened, he surrenders to the Supreme Personality of Godhead and is liberated from the clutches of the material energy. In other words, unless one surrenders to the lotus feet of the Lord, the material energy in its many varieties will continue to control him. No one in the material world can deny that he is under control. The Supreme Lord, Narayana, who is beyond this material existence, controls everyone. The following Vedic mantra confirms this point: eko ha vai narayana asit. Foolish persons think Narayana to be on the platform of ordinary material existence. Because they do not realize the natural constitutional position of the living entity, they concoct names like daridra-narayana, svami-narayana or mithya-narayana. However, Narayana is actually the supreme controller of everyone. This understanding is self-realization.
Srimad Bhagavatam Canto 05, Chapter 18, Text 25
Srimad Bhagavatam Canto 05, Chapter 18, Text 27