The G-League against NBA-caliber athletes and earn significant money and not have to go to class.
The NBA prefers it this way because teams get a one year “preview” of players before they have to draft them. For every LeBron, there are 3 guys who are super highly regarded out of high school who end up being meh in college.