Elohim is the Creator God. He is the God of all creation. Elohim, the creator God must be established in our lives. The dedication of Samson to God was so that he would contend the false Elohim of Dagon.
The Philistine god, Dagon, is a takeover spirit of Sodom that impacts our hands and our mind. It comes to steal the anointing from our hands and to steal God’s fire. Samson was pulled into the sex magic of Dagon and his hands were stripped of the anointing of Elohim.