Light has his successes and strengths, L is constantly one step ahead of him, which puts Light in a difficult situation.
This is demonstrated when Light is compelled to give up the death note in order to save himself. For L, success was almost here. If Rem hadn't interfered, he would have captured Light.