What is the meaning of Judges 2:12?

And they forsook the LORD God of their fathers, which brought them out of the land of Egypt, and followed other gods, of the gods of the people that [were] round about them, and bowed themselves unto them, and provoked the LORD to anger. (Judges 2:12 KJV)

and they forsook Jehovah, the God of their fathers, who brought them out of the land of Egypt, and followed other gods, of the gods of the peoples that were round about them, and bowed themselves down unto them: and they provoked Jehovah to anger. (Judges 2:12 ASV)

And they forsook Jehovah the God of their fathers, who had brought them up out of the land of Egypt, and followed other gods of the gods of the peoples that were round about them, and bowed themselves to them, and provoked Jehovah to anger. (Judges 2:12 DBY)

and they forsook Yahweh, the God of their fathers, who brought them out of the land of Egypt, and followed other gods, of the gods of the peoples who were round about them, and bowed themselves down to them: and they provoked Yahweh to anger. (Judges 2:12 WEB)

and forsake Jehovah, God of their fathers, who bringeth them out from the land of Egypt, and go after other gods (of the gods of the peoples who [are] round about them), and bow themselves to them, and provoke Jehovah, (Judges 2:12 YLT)

Interlinear

And they forsook <`azab> the LORD <Y@hovah> God <‘elohiym> of their fathers, <‘ab> which brought them out <yatsa’> of the land <‘erets> of Egypt, <Mitsrayim> and followed <yalak> <‘achar> other <‘acher> gods, <‘elohiym> of the gods <‘elohiym> of the people <`am> that were round about <cabiyb> them, and bowed <shachah> themselves unto them, and provoked the LORD <Y@hovah> to anger. <ka`ac> (Judges 2:12 KJV)

Patrick/Lowth/Whitby/Lowman Commentary

They forsook the Lord God of their fathers -and followed other gods. By “other gods” may be meant the gods of the people of Canaan: which did not content them, but they worshipped also the gods of other neighboring nations, none of which had bestowed any benefit upon them. This was a very high aggravation of their sin; that when all other nations made to themselves such gods as they thought had done them good, or could be helpful to them, they forsook the greatest Benefactor to their nation, who had made them a free people, and worshipped such gods as had done nothing for them, nor had been able to preserve those that worshipped them from destruction.

Bestowed themselves unto them: They did not only own them for gods, but publicly adored them.

Provoked the Lord to anger. Who had told them he was a jealous God, and could not bear any rival Ex 20:1-2. It is not easy to give an account what moved them to forsake their God after such wonderful things as he had done for them, and their most solemn engagements to him. It is not unlikely that one reason was, the unusual rites prescribed in this Divine service, much different from all other nations: and several laws that made them unlike all the rest of the world, who hated them upon this account. This they could not bear, desiring to be conformable to other people and to gain their friendship. For Hosea saith Ho 8:12, they looked upon the great things of the law as a strange thing.