Will I learn chess more by playing the engine instead of people online?

Playing the computer has multiple advantages. Show evaluation during the match show best move Unlimited time while computer always moves instantly. Take back moves. Multiple difficulty levels can play anywhere from 800 to 3000+ rating. Coach mode. Playing people, all you get is computer analysis after the match and running out of time.
Answers

Chris Ancor

Playing real live humans over the board is the only way to learn to play properly.

Your Uncle Dodge!

You need both. Computers can be beat by pattern, which will lull you into a false sense of accomplishment. Try to get involved in tournaments where you can play opponents as concerned as you are.