Even if you leave out aspects of lighting and such, making a game engine is just a great experience to have. The engine I created a while ago in XNA wasn't that good and lacked many features such as lights, shadows, realistic physics etc. But even being able to create an engine that can draw you some sprites, create separate levels and so on is still valuable. Besides, I didn't need any of that stuff for the games I created back then.
If you later on want to switch to a Unity-like engine, it gives you, from my experience, a whole lot more insight into what is happening and can improve the process of learning to work with such an engine in general.
... why reinvent the wheel?
Not only is it a great programming experience, but do you need all the features provided by such engines? Do you need your own scripting language? Advanced 3D physics? Terrain editor? Custom shaders? I bet you don't even need 1% of the features if you want to start making your first games, especially considering that these are usually games like pong. In my opinion, these engines aren't made for such games at all, not in the slightest.
I have no idea what your current level of experience is, but (even though being somewhat dated by now) I still find this to be a great read: First steps into game development.