Would be hard to keep up with a road bike on an enduro bike on a cycleway. do i need a road bike?

Update: typo meant would it be
Update 2: @Raleigh bob what i mean by do i need a road bike. is do i need two bikes. i dont own any bikes that are meant for road riding. i can choose either that or a bmx bike or buy another bike.
3 answers 3