Yes, you probably did something wrong. If you want to have a job after graduation, the surest path is to do an internship or coop while you are still in school. Surprisingly, it doesn't have to be much either. One summer is usually sufficient, as companies don't want to roll the dice on full-time hires with no documented work history.
Is this Germany (judging from your username) ?
I am now gainfully employed, but doing nothing related to my undergraduate/graduate education.