The verdict
Not rivals. Both are dumbbell isolation lifts, both are listed as pushes at beginner level, and both stop at shoulder height. The front raise lists the front delts as its only primary muscle and no secondary muscles at all, and works through shoulder flexion. The lateral raise lists the side delts as primary, with the front delts and upper traps secondary, and works through shoulder abduction. The record calls the lateral raise the most direct way to train the side delts, and suits the front raise to anyone adding direct front delt work after presses. Most shoulder days want the lateral raise for width, and the front raise only if the front delts still need direct work after pressing.
Muscles, equipment, force and level from the PasteLift exercise library records for the front raise and the dumbbell lateral raise. Sets and reps from the ACSM position stand, cited below.