Why did I spend 4 year getting a CS degree for Web Development when people doing coding bootcamp for a few weeks and are able to get same jobs? What the hell?

Did I waste my time doing CS if I want to get into web dev?

Seem like CS is more for thing like embedded engineering, data engineering, etc.

What is point of CS degree if i want to become web dev???