Pakistan defeated Japan 4-1 and will now play for the 5/6 placing in the classification matches on Saturday.
The defeat means that Japan finishes last in the seven team tournament.
Pakistan had only won their first game, a 3-1 win over Canada and lost all the rest.
As for Japan, they lost all the previous five matches they played.
After a lacklustre opening quarter, Pakistan took the lead in the 20th minute through Ali Shan.
Rizwan Ali then doubled the advantage for Pakistan four minutes later.
Shota Yanada reduced the deficit by converting a penalty corner in the 48th minute.
But Pakistsn hit back within seconds as Muhammad Arslan Qadir scored his fifth of the tournament to put Pakistan 3-1 ahead.
Arslan was on target again three minutes from time to make the final score 4-1.