While you don't necessarily have to specialize in a niche, it can help you attract clients within that specific industry. By limiting yourself to a certain niche, you also face less competition. As a beginner, you may also be low on resources (both human and monetary), so it could be strategic to start with one niche and then branch out later as your resources grow.